Skip to content

Commit

Permalink
chore: logger typo (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 authored and dead-horse committed Oct 11, 2018
1 parent 9a64000 commit b41598e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = app => {
*/
function loadDatabase(config = {}) {
if (typeof config.ignore === 'string' || Array.isArray(config.ignore)) {
app.deprecate(`[egg-srequelize] if you want to exclude ${config.ignore} when load models, please set to config.sequelize.exclude instead of config.sequelize.ignore`);
app.deprecate(`[egg-sequelize] if you want to exclude ${config.ignore} when load models, please set to config.sequelize.exclude instead of config.sequelize.ignore`);
config.exclude = config.ignore;
delete config.ignore;
}
Expand Down

0 comments on commit b41598e

Please sign in to comment.