solana-program / create-solana-program

pnpm create solana-program
Apache License 2.0
70 stars 9 forks source link

Use `cd` function on scripts #57

Closed febo closed 3 months ago

febo commented 3 months ago

This PR updates the script to use the cd function to change directory instead of await $cd <folder>.quiet(). The latter changes the directory in a sub-process, so the change is not "persisted" on the caller.

Relevant commit (since this is a stacked PR):

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 76ecd2056aab80e8dca1eb1d0e921d1309f9e52c

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

febo commented 3 months ago

Lgtm. Is this a JavaScript global function? TIL.

It is a zx function.