Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: correct pkg env usage for exec cli #453

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

PeachScript
Copy link
Contributor

@PeachScript PeachScript commented Sep 21, 2023

Description

Correct $PNPM_PACKAGE_NAME usage for exec cli documentation, because $PNPM_PACKAGE_NAME still empty when we execute pnpm -rc exec pnpm view $PNPM_PACKAGE_NAME, this command equivalent to pnpm -rc exec pnpm view .

So we should to escape it, to save the original token for execute the real command we expect.

Another question, why pnpm -rc exec pnpm view $PNPM_PACKAGE_NAME looks work? Because even if there are no cli argument, pnpm view can also works in package directory.

@stackblitz
Copy link

stackblitz bot commented Sep 21, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel
Copy link

vercel bot commented Sep 21, 2023

@PeachScript is attempting to deploy a commit to the pnpm Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Sep 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pnpm-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2023 9:07pm

@zkochan zkochan merged commit c455b32 into pnpm:main Oct 9, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants