Skip to content

Commit

Permalink
Fix not installing unversioned packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kiootic committed Oct 4, 2023
1 parent 9d984bd commit a2a94b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion setup-android/dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions setup-android/dist/main.js.map

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions setup-android/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ export async function setupAndroid(accept: string, packages: string) {

await acceptLicenses(sdkManager, accept);

const packageList = packages
.split(" ")
.filter((x) => x.length > 0)
.filter((x) => x.includes(";")); // Ignore unversioned packages.
const packageList = packages.split(" ").filter((x) => x.length > 0);
await installPackages(sdkManager, packageList);
}

Expand Down

0 comments on commit a2a94b8

Please sign in to comment.