Skip to content

Commit

Permalink
fix(builtin): fix for nodejs_binary entry point in bazel-out logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedard authored and alexeagle committed Mar 27, 2020
1 parent 13caf8b commit 863c7de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/node/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" )

Expand Down

0 comments on commit 863c7de

Please sign in to comment.