solana-program / create-solana-program

pnpm create solana-program
Apache License 2.0
74 stars 10 forks source link

Fix command-line args parsing on scripts #56

Closed febo closed 4 months ago

febo commented 4 months ago

This PR fixes the command-line parsing so all arguments are passed to the target command.

The current version of the scripts passes the arguments under argv._, which is only a subset of the arguments.

Arguments are taken directly from process.argv with the change in this PR.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 10a33456e7d57c40042be9cb82044dc01bdcafed

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | create-solana-program | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

lorisleiva commented 4 months ago

I wonder why this warning suddenly became an error here.