From 863c7de48046c35dfe29f6a4f625ca3e7057b030 Mon Sep 17 00:00:00 2001 From: Jason Bedard Date: Thu, 26 Mar 2020 23:41:11 -0700 Subject: [PATCH] fix(builtin): fix for nodejs_binary entry point in bazel-out logic --- internal/node/launcher.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/node/launcher.sh b/internal/node/launcher.sh index 3d7bb93435..0b5f404de4 100644 --- a/internal/node/launcher.sh +++ b/internal/node/launcher.sh @@ -191,9 +191,9 @@ for ARG in "${ALL_ARGS[@]:-}"; do case "$ARG" in --bazel_node_modules_manifest=*) MODULES_MANIFEST="${ARG#--bazel_node_modules_manifest=}" ;; --nobazel_patch_module_resolver) - declare MAIN=$(rlocation "TEMPLATED_entry_point_manifest_path") + declare MAIN="TEMPLATED_entry_point_execroot_path" if [[ ! -f "$MAIN" ]]; then - MAIN="TEMPLATED_entry_point_execroot_path" + MAIN=$(rlocation "TEMPLATED_entry_point_manifest_path") fi LAUNCHER_NODE_OPTIONS=( "--require" "$node_patches_script" )