Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Commit cb14348

Browse files
committed
Replaced callback by process.exit to comply with ci tools
1 parent 60eb0ab commit cb14348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/project/project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function test(directory, options, cb) {
221221
process.env.swagger_mockMode = true;
222222
}
223223
mocha.run(function(failures) {
224-
cb(null, failures);
224+
process.exit(failures);
225225
});
226226
});
227227
}

0 commit comments

Comments
 (0)