mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-04 13:28:55 +02:00
#450 Fixing unrelated jshint warnings
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user