Skip to content

Commit

Permalink
fix: suggest --skip-unresolved
Browse files Browse the repository at this point in the history
  • Loading branch information
lili2311 committed May 13, 2020
1 parent 6f2b507 commit a3fd559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/dependencies/inspect-implementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export async function inspectInstalledDeps(
} else {
errMsg += '\nPlease run `pip install -r ' + targetFile + '`.';
}
errMsg += ' If the issue persists try again with --allow-missing.';
errMsg += ' If the issue persists try again with --skip-unresolved.';
throw new Error(errMsg);
}
}
Expand Down
4 changes: 2 additions & 2 deletions test/inspect.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ test('transitive dep not installed', (t) => {
t.equal(
normalize(error.message),
'Required packages missing: markupsafe\n\nPlease run `pip install -r requirements.txt`. ' +
'If the issue persists try again with --allow-missing.'
'If the issue persists try again with --skip-unresolved.'
);
t.end();
});
Expand Down Expand Up @@ -518,7 +518,7 @@ test('deps not installed', (t) => {
t.equal(
normalize(error.message),
'Required packages missing: awss\n\nPlease run `pip install -r requirements.txt`. ' +
'If the issue persists try again with --allow-missing.'
'If the issue persists try again with --skip-unresolved.'
);
t.end();
});
Expand Down

0 comments on commit a3fd559

Please sign in to comment.