Skip to content

Commit 6bc6f63

Browse files
committed
fixup!
1 parent 761013c commit 6bc6f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/url.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const loadFromURL = async url => {
3535
* @returns {Promise<any>} The imported module
3636
*/
3737
export const importFromURL = async url => {
38-
const useJSONAssertion = extname(String(parsed)) === '.json';
38+
const useJSONAssertion = extname(String(url)) === '.json';
3939

4040
const parsed = toParsedURL(url);
4141

0 commit comments

Comments
 (0)