Skip to content

Commit

Permalink
fix: typo in fix of modern api depedencies (#1125)
Browse files Browse the repository at this point in the history
  • Loading branch information
notzheng authored Mar 24, 2023
1 parent 4dd92db commit 50987bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
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 50987bc

Please sign in to comment.