CLI: Propagate exit code from lib (i.e., phantomjs)

This commit is contained in:
Richard Gibson 2015-11-05 15:50:59 -05:00
parent 17be68f5d9
commit c62061090a

View File

@ -23,5 +23,5 @@ cli.parse(process.argv.slice(2), function(err, message, options) {
return
}
lib.process(options.files, options)
lib.process(options.files, options, process.exit)
})