Skip to content

Commit

Permalink
Comment out early exit and debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Oct 26, 2024
1 parent 72f9aa4 commit 231408d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions bin/preflight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 231408d

Please sign in to comment.