Skip to content

Commit 84335ba

Browse files
authored
Merge pull request #1493 from snyk/fix/clear-container-spinner
fix: clear spinner in container monitor command
2 parents cf5857a + 8ea4d92 commit 84335ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/ecosystems/monitor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export async function monitorEcosystem(
3636
options.path = path;
3737
const pluginResponse = await plugin.scan(options);
3838
scanResultsByPath[path] = pluginResponse.scanResults;
39+
spinner.clearAll();
3940
}
4041
const [monitorResults, errors] = await monitorDependencies(
4142
scanResultsByPath,
@@ -118,8 +119,8 @@ async function monitorDependencies(
118119
});
119120
}
120121
}
122+
spinner.clearAll();
121123
}
122-
spinner.clearAll();
123124
return [results, errors];
124125
}
125126

0 commit comments

Comments
 (0)