Update migration.test.js

Global leak error triggered because of missing var in line ported from coffeescript.
This commit is contained in:
dgsan 2013-06-04 15:58:17 -06:00
parent 8b7ac18cc3
commit 93e4898312
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ getFields = function (model, cb) {
if (err) {
cb(err);
} else {
fields = {};
var fields = {};
res.forEach(function(field){
fields[field.Field] = field;
});