Skip to content

Commit 5e6f4ec

Browse files
committed
fixup!
1 parent 32be021 commit 5e6f4ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/parser.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const loadFromURL = async url => {
1212

1313
if (!parsedUrl || parsedUrl.protocol === 'file:') {
1414
// Load from file system
15-
return readFile(parsedUrl, 'utf-8');
15+
return readFile(parsedUrl || url, 'utf-8');
1616
} else {
1717
// Load from network
1818
const response = await fetch(parsedUrl);

0 commit comments

Comments
 (0)