Skip to content

Commit

Permalink
fix(android): log errors during sdk walk, don't throw
Browse files Browse the repository at this point in the history
fixes #40
  • Loading branch information
imhoffd committed Jun 7, 2019
1 parent 6909c5f commit ea2e0c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/android/utils/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export async function findAllSDKPackages(sdk: SDK): Promise<SDKPackage[]> {
debug('Walking %s to discover SDK packages', sdk.root);
const contents = await readdirp(sdk.root, {
filter: item => pathlib.basename(item.path) === 'package.xml',
onError: err => debug('Error while walking SDK: %O', err),
walkerOptions: {
pathFilter: p => {
if ([
Expand Down

0 comments on commit ea2e0c5

Please sign in to comment.