Skip to content

Commit

Permalink
fix: show spinner scanning ecosystem
Browse files Browse the repository at this point in the history
  • Loading branch information
gitphill committed Dec 4, 2020
1 parent 7606a5b commit 42be990
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/ecosystems/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ export async function testEcosystem(
const plugin = getPlugin(ecosystem);
const scanResultsByPath: { [dir: string]: ScanResult[] } = {};
for (const path of paths) {
await spinner(`Scanning dependencies in ${path}`);
options.path = path;
const pluginResponse = await plugin.scan(options);
scanResultsByPath[path] = pluginResponse.scanResults;
}
spinner.clearAll();
const [testResults, errors] = await testDependencies(
scanResultsByPath,
options,
Expand Down

0 comments on commit 42be990

Please sign in to comment.