From 231408d94097d20b02fd6a060f78e0ee876f6fea Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Sat, 26 Oct 2024 18:05:28 +0200 Subject: [PATCH] Comment out early exit and debugging --- bin/preflight.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/bin/preflight.sh b/bin/preflight.sh index e333dc32..252be6dd 100755 --- a/bin/preflight.sh +++ b/bin/preflight.sh @@ -14,18 +14,18 @@ cli_path="${cli_path/\$basedir/$script_dir}" pnpm_bin_global="$(pnpm bin --global)" cli_path="${cli_path/$pnpm_bin_global\//$pnpm_bin_global\/global\/5\/.pnpm\/}" -if [[ ! -x "$cli_path" ]]; then - echo "Error: tsx executable not found or is not executable at $cli_path" >&2 - # pnpm bin --global - echo "pnpm bin --global: $(pnpm bin --global)" - echo "script_dir: $script_dir" - cd "$script_dir/.." || exit 1 - echo "$script_dir/node_modules/.bin files:" - ls -la node_modules/.bin - echo "tsx shim contents:" - cat "$tsx_shim" - echo "exec_command: $exec_command" - exit 1 -fi +# if [[ ! -x "$cli_path" ]]; then +# echo "Error: tsx executable not found or is not executable at $cli_path" >&2 +# # pnpm bin --global +# echo "pnpm bin --global: $(pnpm bin --global)" +# echo "script_dir: $script_dir" +# cd "$script_dir/.." || exit 1 +# echo "$script_dir/node_modules/.bin files:" +# ls -la node_modules/.bin +# echo "tsx shim contents:" +# cat "$tsx_shim" +# echo "exec_command: $exec_command" +# exit 1 +# fi node "$cli_path" "$script_dir/../src/index.ts"