diff --git a/lib/cursor.js b/lib/cursor.js index 9521458..ad6c9bf 100755 --- a/lib/cursor.js +++ b/lib/cursor.js @@ -14,8 +14,8 @@ class Cursor { constructor (db, query, execFn, async = false) { this.db = db this.query = query || {} - if (execFn) { this.execFn = execFn } - if (async) { this.async = true } + if (execFn) this.execFn = execFn + if (async) this.async = true } /**