@eurekadevsecops/radar 1.4.5 → 1.4.6
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/package.json +1 -1
- package/src/commands/scan.js +5 -0
package/package.json
CHANGED
package/src/commands/scan.js
CHANGED
|
@@ -210,6 +210,11 @@ module.exports = {
|
|
|
210
210
|
if (summary.notes.length > 0) exitCode |= 0x4
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
+
// Display the exit code.
|
|
214
|
+
if (!args.QUIET && exitCode !== 0) {
|
|
215
|
+
log(`Terminating with exit code ${exitCode}. See 'radar help scan' for list of possible exit codes.`)
|
|
216
|
+
}
|
|
217
|
+
|
|
213
218
|
// Clean up.
|
|
214
219
|
fs.rmSync(tmpdir, { recursive: true, force: true })
|
|
215
220
|
|