Skip to content

Commit 863c7de

Browse files
jbedardalexeagle
authored andcommitted
fix(builtin): fix for nodejs_binary entry point in bazel-out logic
1 parent 13caf8b commit 863c7de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/node/launcher.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ for ARG in "${ALL_ARGS[@]:-}"; do
191191
case "$ARG" in
192192
--bazel_node_modules_manifest=*) MODULES_MANIFEST="${ARG#--bazel_node_modules_manifest=}" ;;
193193
--nobazel_patch_module_resolver)
194-
declare MAIN=$(rlocation "TEMPLATED_entry_point_manifest_path")
194+
declare MAIN="TEMPLATED_entry_point_execroot_path"
195195
if [[ ! -f "$MAIN" ]]; then
196-
MAIN="TEMPLATED_entry_point_execroot_path"
196+
MAIN=$(rlocation "TEMPLATED_entry_point_manifest_path")
197197
fi
198198
LAUNCHER_NODE_OPTIONS=( "--require" "$node_patches_script" )
199199

0 commit comments

Comments
 (0)