Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.42k stars 436 forks source link

Exit with non-zero code if phantomjs was killed #661

Open goganchic opened 7 years ago

goganchic commented 7 years ago

When phantomjs exits with message

PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.

wrapper script exits with status = 0. It's incorrect, so I've added check second parameter of 'exit' event.