Skip to content

Commit

Permalink
Merge pull request #250 from gibson042/exit-code
Browse files Browse the repository at this point in the history
CLI: Propagate exit code from lib (i.e., phantomjs)
  • Loading branch information
knsv committed Nov 6, 2015
2 parents 0f689c2 + c620610 commit 34209db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mermaid.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

0 comments on commit 34209db

Please sign in to comment.