mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 23:39:50 +02:00
CLI: Propagate exit code from lib (i.e., phantomjs)
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
Reference in New Issue
Block a user