Permalink
Browse files

chore(tidy): tidying up minor lint and layout issues

  • Loading branch information...
1 parent 38d92e3 commit e5a5d24216a3d9505a4777e4e2bdaee6d85316d9 @lirantal lirantal committed Sep 9, 2016
Showing with 4 additions and 5 deletions.
  1. +2 −2 gulpfile.js
  2. +2 −3 scripts/upgrade-users-sparse-index.js
View
@@ -132,9 +132,9 @@ gulp.task('watch:server:run-tests', function () {
gulp.task('csslint', function () {
return gulp.src(defaultAssets.client.css)
.pipe(plugins.csslint('.csslintrc'))
- .pipe(plugins.csslint.formatter())
+ .pipe(plugins.csslint.formatter());
// Don't fail CSS issues yet
- //.pipe(plugins.csslint.failFormatter());
+ // .pipe(plugins.csslint.failFormatter());
});
// ESLint JS linting task
@@ -26,8 +26,7 @@ mongoose.connect(function (db) {
if (err) {
errors.push(err);
- message = 'An error occured while removing the index "' +
- _indexToRemove + '".';
+ message = 'An error occured while removing the index "' + _indexToRemove + '".';
if (err.message.indexOf('index not found with name') !== -1) {
message = 'Index "' + _indexToRemove + '" could not be found.' +
@@ -51,7 +50,7 @@ function reportAndExit(message) {
for (var i = 0; i < errors.length; i++) {
console.log(chalk.red(errors[i]));
- if (i === errors.length -1) {
+ if (i === (errors.length -1) ) {
process.exit(0);
}
}

0 comments on commit e5a5d24

Please sign in to comment.