Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Commit e04e523

Browse files
committed
windows fixes
1 parent 5f5738d commit e04e523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ GithubLocation.prototype = {
645645
})
646646
.then(function(hasMain) {
647647
if (hasMain)
648-
packageConfig.main = main;
648+
packageConfig.main = main.replace(/\\/g, '/');
649649
return packageConfig;
650650
});
651651
}

0 commit comments

Comments
 (0)