Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
chore(tidy): tidying up minor lint and layout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Sep 9, 2016
1 parent 38d92e3 commit e5a5d24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions scripts/upgrade-users-sparse-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.' +
Expand All @@ -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);
}
}
Expand Down

0 comments on commit e5a5d24

Please sign in to comment.