snyk 1.686.0 → 1.687.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +4 -1
- package/dist/cli/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cli/index.js
CHANGED
|
@@ -284364,7 +284364,10 @@ async function main() {
|
|
|
284364
284364
|
exitCode = response.exitCode;
|
|
284365
284365
|
}
|
|
284366
284366
|
if (!globalArgs.options.json) {
|
|
284367
|
-
|
|
284367
|
+
const alertsMessage = alerts.displayAlerts();
|
|
284368
|
+
if (alertsMessage) {
|
|
284369
|
+
console.warn(alertsMessage);
|
|
284370
|
+
}
|
|
284368
284371
|
}
|
|
284369
284372
|
if (!process.env.TAP && failed) {
|
|
284370
284373
|
debug('Exit code: ' + exitCode);
|