Skip to content

Commit

Permalink
fix: use !== 0 instead of != 0
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Nov 15, 2019
1 parent 8de121d commit c02b05f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/test.js
Expand Up @@ -33,7 +33,7 @@ module.exports = function(grunt) {

var runner = childProcess.fork('./spec/env/runner', [], {stdio: 'inherit'});
runner.on('close', function(code) {
if (code != 0) {
if (code !== 0) {
grunt.fatal(code + ' tests failed');
}
done();
Expand All @@ -55,7 +55,7 @@ module.exports = function(grunt) {

var runner = childProcess.fork('./spec/env/runner', ['--min'], {stdio: 'inherit'});
runner.on('close', function(code) {
if (code != 0) {
if (code !== 0) {
grunt.fatal(code + ' tests failed');
}
done();
Expand Down

0 comments on commit c02b05f

Please sign in to comment.