Skip to content

Commit

Permalink
Fixed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaKrasavtsev committed Mar 28, 2020
1 parent 507f456 commit 6f3392e
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 @@ -246,7 +246,7 @@ Loader.prototype.prepFixtureData = function(data, Model) {
if (Model.rawAttributes.hasOwnProperty(key)) {
result[key] = val;
} else {
this.logger.warn('attribute "' + key +"' not defined on model '" + Model.name + "'.");
console.warn('attribute "' + key +"' not defined on model '" + Model.name + "'.");
}
}
});
Expand Down

0 comments on commit 6f3392e

Please sign in to comment.