We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 494eafc commit d863c43Copy full SHA for d863c43
node/internal/node_binary.bzl
@@ -15,7 +15,7 @@ export NODE_PATH={node_paths}
15
# Run it but wrap all calls to paths in a call to find. The call to find will
16
# search recursively through the filesystem to find the appropriate runfiles
17
# directory if that is necessary.
18
-exec $(find . | grep -m 1 "{node_bin}") $(find . | grep -m 1 "{script_path}") $@
+cd $(find . | grep -m 1 "{node_bin}" | sed 's|{node_bin}$||') && exec "{node_bin}" "{script_path}" $@
19
"""
20
21
0 commit comments