Skip to content

Commit

Permalink
Update cucumber_js.js (#14)
Browse files Browse the repository at this point in the history
code style fixes
  • Loading branch information
amuzalevskiy authored and gkushang committed May 18, 2017
1 parent b20a10c commit 7f38ec6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/cucumber/cucumber_js.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,11 @@ module.exports = function cucumber_js() {

var code = succeeded ? 0 : 1;

if (code === 1) {
code = 1;
}

process.send({
info: 'report',
report: report,
succeeded: succeeded,
code: succeeded ? 0 : 1
code: code
});

function exitNow() {
Expand Down

0 comments on commit 7f38ec6

Please sign in to comment.