Skip to content

Commit

Permalink
fix: node_loader windows fix for RUNFILES_MANIFEST_FILE slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored and alexeagle committed Sep 5, 2019
1 parent 27e2b68 commit d3886ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/node/node_loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ function resolveToModuleRoot(path) {
* See https://github.com/bazelbuild/bazel/issues/3726
*/
function loadRunfilesManifest(manifestPath) {
// Normalize slashes in manifestPath so they match slashes in manifest file
manifestPath = manifestPath.replace(/\\/g, '/');

log_verbose(`using manifest ${manifestPath}`);

// Create the manifest and reverse manifest maps.
Expand Down

0 comments on commit d3886ce

Please sign in to comment.