@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eurekadevsecops/radar",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Radar is an open-source orchestrator of security scanners.",
5
5
  "homepage": "https://www.eurekadevsecops.com/radar",
6
6
  "keywords": [
@@ -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