Skip to content

Commit

Permalink
allow async promise executor (now disallowed by xo defaults)
Browse files Browse the repository at this point in the history
errors are properly handled
  • Loading branch information
davidgovea committed Feb 14, 2019
1 parent d5128b1 commit 1e78fb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ class Frisbee {
}
}

// eslint-disable-next-line no-async-promise-executor
return new Promise(async (resolve, reject) => {
try {
const fullUri = this.opts.baseURI
Expand Down

0 comments on commit 1e78fb5

Please sign in to comment.