Skip to content

Commit

Permalink
feat: just to force update version and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
MRVMV committed Feb 27, 2021
1 parent 94d66d4 commit 3201376
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ if (config.use_env_variable) {
}

fs.readdirSync(__dirname)
.filter((file) => {
return file.indexOf('.') !== 0 && file !== basename && file.slice(-3) === '.js';
})
.filter((file) => file.indexOf('.') !== 0 && file !== basename && file.slice(-3) === '.js')
.forEach((file) => {
const model = require(path.join(__dirname, file))(sequelize, Sequelize.DataTypes);
db[model.name] = model;
Expand Down

0 comments on commit 3201376

Please sign in to comment.