Skip to content

Commit 50987bc

Browse files
authored
fix: typo in fix of modern api depedencies (#1125)
1 parent 4dd92db commit 50987bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async function loader(content) {
9898
// Modern API
9999
if (typeof result.loadedUrls !== "undefined") {
100100
result.loadedUrls
101-
.filter((url) => url.protocol === "file")
101+
.filter((url) => url.protocol === "file:")
102102
.forEach((includedFile) => {
103103
const normalizedIncludedFile = url.fileURLToPath(includedFile);
104104

0 commit comments

Comments
 (0)