diff --git a/bin/mermaid.js b/bin/mermaid.js index 4a39d8baf..a80f78fa6 100755 --- a/bin/mermaid.js +++ b/bin/mermaid.js @@ -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) })