Call exit on process global

This commit is contained in:
Kevin Sawicki 2014-11-17 15:37:25 -08:00
parent 4a9d0ab4d3
commit cb7d4c8638

View File

@ -1,4 +1,3 @@
module.exports = (grunt) ->
grunt.registerTask 'check-licenses', 'Report the licenses of all dependencies', ->
legalEagle = require 'legal-eagle'
@ -13,7 +12,7 @@ module.exports = (grunt) ->
legalEagle options, (err, summary) ->
if err?
console.error(err)
exit 1
process.exit 1
for key of summary
delete summary[key] if key.match /^atom@/