Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
Use strict equality
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Malov committed Sep 23, 2014
1 parent 31b06ad commit 9342633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/sequelize.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ module.exports = function (grunt) {
}

count++;
if (count == allModels.length) { // check if all callbacks have been called
if (count === allModels.length) { // check if all callbacks have been called
grunt.log.writeln('Now, syncing...');
sequelize
.sync()
Expand Down

0 comments on commit 9342633

Please sign in to comment.