不要怂,就是干,撸起袖子干!

You need to sign in or sign up before continuing.
Commit b2d8b4e9 by sdepold

added parens

1 parent be5cdf7d
Showing with 3 additions and 2 deletions
......@@ -238,10 +238,11 @@ module.exports = (function() {
return new Utils.CustomEventEmitter(function(emitter) {
var query = null
if(Array.isArray(sqlOrQueryParams))
if(Array.isArray(sqlOrQueryParams)) {
query = self.sequelize.query.apply(self.sequelize, sqlOrQueryParams)
else
} else {
query = self.sequelize.query(sqlOrQueryParams)
}
// append the query for better testing
emitter.query = query
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!