Skip to content

Commit

Permalink
fix: typo in fix of modern api depedencies
Browse files Browse the repository at this point in the history
  • Loading branch information
notzheng committed Mar 22, 2023
1 parent 4dd92db commit a49c581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -98,7 +98,7 @@ async function loader(content) {
// Modern API
if (typeof result.loadedUrls !== "undefined") {
result.loadedUrls
.filter((url) => url.protocol === "file")
.filter((url) => url.protocol === "file:")
.forEach((includedFile) => {
const normalizedIncludedFile = url.fileURLToPath(includedFile);

Expand Down

0 comments on commit a49c581

Please sign in to comment.