This repository was archived by the owner on Jun 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ async function main () {
3131 // The second argument to this program will be the target-OS specifc
3232 // directory for where to copy your build artifacts
3333 //
34- const target = path . resolve ( process . argv [ 2 ] )
34+ const target = path . resolve ( process . env . PREFIX )
3535
3636 //
3737 // If the watch command is specified, let esbuild start its server
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ async function main () {
3131 // The second argument to this program will be the target-OS specifc
3232 // directory for where to copy your build artifacts
3333 //
34- const target = path . resolve ( process . argv [ 2 ] )
34+ const target = path . resolve ( process . env . PREFIX )
3535
3636 //
3737 // If the watch command is specified, let esbuild start its server
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ async function main () {
1616 // The second argument to this program will be the target-OS specifc
1717 // directory for where to copy your build artifacts
1818 //
19- const target = path . resolve ( process . argv [ 2 ] )
19+ const target = path . resolve ( process . env . PREFIX )
2020
2121 //
2222 // If the watch command is specified, let esbuild start its server
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ async function main () {
3131 // The second argument to this program will be the target-OS specifc
3232 // directory for where to copy your build artifacts
3333 //
34- const target = path . resolve ( process . argv [ 2 ] )
34+ const target = path . resolve ( process . env . PREFIX )
3535
3636 //
3737 // If the watch command is specified, let esbuild start its server
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ async function main () {
3131 // The second argument to this program will be the target-OS specifc
3232 // directory for where to copy your build artifacts
3333 //
34- const target = path . resolve ( process . argv [ 2 ] )
34+ const target = path . resolve ( process . env . PREFIX )
3535
3636 //
3737 // If the watch command is specified, let esbuild start its server
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ async function main () {
1616 // The second argument to this program will be the target-OS specifc
1717 // directory for where to copy your build artifacts
1818 //
19- const target = path . resolve ( process . argv [ 2 ] )
19+ const target = path . resolve ( process . env . PREFIX )
2020
2121 //
2222 // If the watch command is specified, let esbuild start its server
You can’t perform that action at this time.
0 commit comments