Skip to content

Commit c02b05f

Browse files
committed
fix: use !== 0 instead of != 0
1 parent 8de121d commit c02b05f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tasks/test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = function(grunt) {
3333

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

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

0 commit comments

Comments
 (0)