diff --git a/github.js b/github.js index 81bfa94..6eb85a8 100644 --- a/github.js +++ b/github.js @@ -634,7 +634,7 @@ GithubLocation.prototype = { }) .then(function(hasMain) { if (hasMain) - packageConfig.main = main; + packageConfig.main = main.replace(/\\/g, '/'); return packageConfig; }); }