Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Oct 26, 2024
1 parent f0d01f9 commit f391be9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bin/preflight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@ tsx_shim="$script_dir/../node_modules/.bin/tsx"
exec_command=$(awk '/^else$/{flag=1;next}/^fi$/{flag=0}flag' "$tsx_shim" | grep 'exec node')
cli_path=$(echo "$exec_command" | sed -E 's/^[[:space:]]*exec node[[:space:]]+"[^"]+(node_modules\/tsx\/[^"]+)".*/\1/')
cli_path="$(pnpm bin --global)/global/5/.pnpm/$cli_path"
# # pnpm_bin_global="$(pnpm bin --global)/global/5/.pnpm/$cli_path"
# # echo "pnpm_bin_global: $pnpm_bin_global"
# cli_path="${cli_path/$pnpm_bin_global\//$pnpm_bin_global\/global\/5\/.pnpm\/}"
# echo "cli_path: $cli_path"

node "$cli_path" "$script_dir/../src/index.ts"

0 comments on commit f391be9

Please sign in to comment.