From c62061090a4bd2bf09ab4035b6995f3efdef1df8 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Thu, 5 Nov 2015 15:50:59 -0500 Subject: [PATCH] CLI: Propagate exit code from lib (i.e., phantomjs) --- bin/mermaid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) })