diff --git a/lib/dependencies/inspect-implementation.ts b/lib/dependencies/inspect-implementation.ts index 2a45649f..b08fe183 100644 --- a/lib/dependencies/inspect-implementation.ts +++ b/lib/dependencies/inspect-implementation.ts @@ -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); } } diff --git a/test/inspect.test.js b/test/inspect.test.js index f715e15e..7cb2311e 100644 --- a/test/inspect.test.js +++ b/test/inspect.test.js @@ -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(); }); @@ -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(); });