Skip to content

Commit

Permalink
Fix launcher_template.sh pointing to npm/bazel instead of npm/@bazel
Browse files Browse the repository at this point in the history
…which caused the devserver to not find the some runfiles.
  • Loading branch information
Carl Leduc-Benoit authored and alexeagle committed Jul 17, 2020
1 parent 9dcfed9 commit 8a8e512
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/typescript/internal/devserver/launcher_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ esac
case "${machine}" in
# The following paths must match up with //packages/typescript/devserver binaries
# FIXME: we shouldn't hardcode "npm" repository name here
darwin) readonly platform_main_manifest="npm/bazel/typescript/devserver/devserver-darwin_x64" ;;
windows) readonly platform_main_manifest="npm/bazel/typescript/devserver/devserver-windows_x64.exe" ;;
*) readonly platform_main_manifest="npm/bazel/typescript/devserver/devserver-linux_x64" ;;
darwin) readonly platform_main_manifest="npm/@bazel/typescript/devserver/devserver-darwin_x64" ;;
windows) readonly platform_main_manifest="npm/@bazel/typescript/devserver/devserver-windows_x64.exe" ;;
*) readonly platform_main_manifest="npm/@bazel/typescript/devserver/devserver-linux_x64" ;;
esac

readonly platform_main=$(rlocation "${platform_main_manifest}")
Expand Down

0 comments on commit 8a8e512

Please sign in to comment.