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

Commit 746f7d97 by Jan Aagaard Meier

The code-base is now one exclamation point shorter

1 parent 0800fbce
Showing with 1 additions and 1 deletions
......@@ -129,7 +129,7 @@ module.exports = (function() {
// options is not a hash but an id
if(typeof options === 'number') {
options = { where: options }
} else if (!Utils._.size(primaryKeys) && Utils.argsArePrimaryKeys(arguments, primaryKeys)) {
} else if (Utils._.size(primaryKeys) && Utils.argsArePrimaryKeys(arguments, primaryKeys)) {
var where = {}
, self = this
, keys = Utils._.keys(primaryKeys)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!