Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
koshic committed Oct 23, 2023
1 parent a9b85ba commit f1135fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pnpResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default pnpapi && ((id, parent) => {
let path = null
try {
path = pnpapi.resolveRequest(id, parent)
} catch {}
} catch { /* empty */ }

return path !== null ? pathToFileURL(path).href : null
})

0 comments on commit f1135fb

Please sign in to comment.