Skip to content

Commit

Permalink
Merge pull request #114 from hugodes/bugfix-loader-logs
Browse files Browse the repository at this point in the history
Bugfix loader logs
  • Loading branch information
domasx2 authored Jun 19, 2020
2 parents 3062668 + ad8eb30 commit a107af5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ lib-cov
*.pid
*.gz
*sublime*
# Webstorm project conf files
.idea/

pids
logs
Expand Down
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 + "'.");
self.logger.warn('attribute "' + key +"' not defined on model '" + Model.name + "'.");
}
}
});
Expand Down

0 comments on commit a107af5

Please sign in to comment.