diff --git a/packages/base/source/conversions/nodeback-to-task.js b/packages/base/source/conversions/nodeback-to-task.js index fdb7965..3c84324 100644 --- a/packages/base/source/conversions/nodeback-to-task.js +++ b/packages/base/source/conversions/nodeback-to-task.js @@ -25,9 +25,9 @@ const nodebackToTask = fn => (...args) => ( fn(...args, (err, data) => { if (!r.isCancelled) { if (err) { - r.reject(err) + r.reject(err); } else { - r.resolve(data) + r.resolve(data); } } })