Skip to content

Commit

Permalink
remove async from verification fun
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Aug 8, 2023
1 parent 5184876 commit b546c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esmockLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const resolve = async (specifier, context, nextResolve) => {
}

const loaderVerificationQuery = '?esmock-loader=true'
const loaderIsVerified = async url => import(
const loaderIsVerified = url => import(
url + loaderVerificationQuery).then(m => m.default === true)
const load = async (url, context, nextLoad) => {
if (url.endsWith(loaderVerificationQuery)) {
Expand Down

0 comments on commit b546c8f

Please sign in to comment.