Skip to content

Commit

Permalink
Merge pull request #1493 from snyk/fix/clear-container-spinner
Browse files Browse the repository at this point in the history
fix: clear spinner in container monitor command
  • Loading branch information
ivanstanev authored Oct 28, 2020
2 parents cf5857a + 8ea4d92 commit 84335ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/ecosystems/monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export async function monitorEcosystem(
options.path = path;
const pluginResponse = await plugin.scan(options);
scanResultsByPath[path] = pluginResponse.scanResults;
spinner.clearAll();
}
const [monitorResults, errors] = await monitorDependencies(
scanResultsByPath,
Expand Down Expand Up @@ -118,8 +119,8 @@ async function monitorDependencies(
});
}
}
spinner.clearAll();
}
spinner.clearAll();
return [results, errors];
}

Expand Down

0 comments on commit 84335ba

Please sign in to comment.