Skip to content

Commit cb39ff7

Browse files
wip(core): defaultHandleModule() must return undefined if module type is not handled
1 parent cd13a7c commit cb39ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,5 +365,5 @@ export async function loadDeps(filename : string, deps : string[], options : Opt
365365
case '.mjs': return createJSModule(source.toString(), true, path, options);
366366
}
367367

368-
return null;
368+
return undefined;
369369
}

0 commit comments

Comments
 (0)