Skip to content

Commit

Permalink
More stylistic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
robotlolita committed Jan 21, 2019
1 parent ce5374d commit baff55c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/base/source/conversions/nodeback-to-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
})
Expand Down

0 comments on commit baff55c

Please sign in to comment.