diff --git a/gulpfile.js b/gulpfile.js index 18217967..6e99e0d8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -130,7 +130,7 @@ gulp.task('mocha', function (done) { error = err; }).on('end', function() { // When the tests are done, disconnect mongoose and pass the error state back to gulp - mongoose.disconnect(function(){ + mongoose.disconnect(function() { done(error); }); }); @@ -155,11 +155,11 @@ gulp.task('webdriver-update', plugins.protractor.webdriver_update); gulp.task('protractor', function () { gulp.src([]) .pipe(plugins.protractor.protractor({ - configFile: "protractor.conf.js" + configFile: 'protractor.conf.js' })) .on('error', function (e) { - throw e - }) + throw e; + }); }); // Lint CSS and JavaScript files.