From b57e3a01fb00e661e061f9c27d90650ae0657db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Rebours?= Date: Fri, 22 Oct 2021 11:31:18 +0200 Subject: [PATCH] minor --- lib/cursor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } /**