Skip to content

Commit a49c581

Browse files
authored
fix: typo in fix of modern api depedencies
1 parent 4dd92db commit a49c581

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)