Merge pull request #250 from gibson042/exit-code

CLI: Propagate exit code from lib (i.e., phantomjs)
This commit is contained in:
Knut Sveidqvist
2015-11-06 07:11:26 +01:00

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)
})