Skip to content

Commit bf584e3

Browse files
committed
fix: uts
1 parent 7bcf28b commit bf584e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const isAsyncFunction = function (fn) {
4040
}
4141

4242
export const resolveImportModulePath = function (modulePath) {
43-
if (isWindows() && modulePath === "string" && path.isAbsolute(modulePath)) {
43+
if (isWindows()) {
4444
return pathToFileURL(modulePath).href
4545
}
4646
return modulePath

0 commit comments

Comments
 (0)