mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
CLI: Propagate exit code from lib (i.e., phantomjs)
This commit is contained in:
parent
17be68f5d9
commit
c62061090a
@ -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)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user