Skip to content

Commit 799fed7

Browse files
committed
Fix Travis CI for old node.js
1 parent 49da44b commit 799fed7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gulpfile.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ gulp.task('clean', function (done) {
77
});
88

99
gulp.task('lint', function () {
10+
if ( parseInt(process.versions.node) < 4 ) {
11+
return;
12+
}
1013
var eslint = require('gulp-eslint');
1114
return gulp.src(['index.js', 'test/**/*.js', 'gulpfile.js'])
1215
.pipe(eslint())

0 commit comments

Comments
 (0)