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

Commit bb8b801

Browse files
committed
windows fixes
1 parent 22197c9 commit bb8b801

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
@@ -634,7 +634,7 @@ GithubLocation.prototype = {
634634
})
635635
.then(function(hasMain) {
636636
if (hasMain)
637-
packageConfig.main = main;
637+
packageConfig.main = main.replace(/\\/g, '/');
638638
return packageConfig;
639639
});
640640
}

0 commit comments

Comments
 (0)