Skip to content

Commit

Permalink
chore(resolve): Fix method check
Browse files Browse the repository at this point in the history
Prash74 committed Dec 6, 2019

Verified

This commit was signed with the committer’s verified signature.
altendky Kyle Altendorf
1 parent cf6a957 commit 55eec01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolve.js
Original file line number Diff line number Diff line change
@@ -271,7 +271,7 @@ async function findResolution(did, opts, state) {

if (0 === pending && !didResolve && 0 === resolvers.length && !state.aborted) {
// Revert to expired cache copy if present
if (!isBrowser) {
if (false === isBrowser) {
try {
const cachePath = path.join(os.tmpdir(), 'aid', did.identifier, 'ddo.json')
const json = await pify(readFile)(cachePath, 'utf8')

0 comments on commit 55eec01

Please sign in to comment.