Skip to content

Commit

Permalink
chore(resolve.js): Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vipyne committed Jun 14, 2019
1 parent 4af0066 commit 0d8bd2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ async function findResolution(did, opts, state) {
uri += `/1.0/identifiers/${did.did}`
timeout = setTimeout(doResolution, opts.timeout)

/* eslint-disable no-loop-func */
pending++
fetch(uri, { mode: 'cors' })
.then(async (res) => {
Expand All @@ -304,6 +305,7 @@ async function findResolution(did, opts, state) {
process.nextTick(doResolution)
}
})
/* eslint-enable no-loop-func */
}
}
}
Expand Down

0 comments on commit 0d8bd2e

Please sign in to comment.