Skip to content

Commit 7b7cb52

Browse files
authored
Merge pull request #398 from strongloop/fix-eslint
Fix eslint violations
2 parents bf210cd + c442205 commit 7b7cb52

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

lib/migration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function mixinMigration(PostgreSQL) {
157157
propNames.forEach(function(propName) {
158158
if (self.id(model, propName)) return;
159159
const found = self.searchForPropertyInActual(
160-
model, self.column(model, propName), actualFields
160+
model, self.column(model, propName), actualFields,
161161
);
162162
if (!found && self.propertyHasNotBeenDeleted(model, propName)) {
163163
sql.push('ADD COLUMN ' + self.addPropertyToActual(model, propName));

test/postgresql.migration.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function getIndexes(model, cb) {
150150
});
151151
}
152152
cb(err, indexes);
153-
}
153+
},
154154
);
155155
}
156156

test/postgresql.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ describe('postgresql connector', function() {
153153
p.created.getTime().should.be.eql(created.getTime());
154154
done();
155155
});
156-
}
156+
},
157157
);
158158
});
159159

@@ -169,7 +169,7 @@ describe('postgresql connector', function() {
169169
results.should.have.property('affectedRows', 1);
170170
done(err);
171171
});
172-
}
172+
},
173173
);
174174
});
175175

@@ -186,7 +186,7 @@ describe('postgresql connector', function() {
186186
results.rows[0].id.should.eql(post.id);
187187
done(err);
188188
});
189-
}
189+
},
190190
);
191191
});
192192

@@ -212,7 +212,7 @@ describe('postgresql connector', function() {
212212
p.should.have.property('approved', false);
213213
done();
214214
});
215-
}
215+
},
216216
);
217217
});
218218

test/postgresql.timestamp.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe('Timestamps', function() {
5656
should.not.exist(err);
5757
should.exist(p);
5858
done();
59-
}
59+
},
6060
);
6161
});
6262

0 commit comments

Comments
 (0)