-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug]: @yarnpkg/shell
doesn't support clearing env variables
#4447
Labels
bug
Something isn't working
reproducible
This issue can be successfully reproduced
shell
This issue is about @yarnpkg/shell
Comments
This comment has been minimized.
This comment has been minimized.
merceyz
changed the title
[Bug?]: Regression from v1: Unsetting environment variables in package.json
[Bug]: Jun 10, 2022
@yarnpkg/shell
doesn't support unset
merceyz
changed the title
[Bug]:
[Bug]: Jun 10, 2022
@yarnpkg/shell
doesn't support unset
@yarnpkg/shell
doesn't support clearing env variables
This issue reproduces on master:
|
github-merge-queue bot
pushed a commit
that referenced
this issue
Aug 25, 2024
## What's the problem this PR addresses? <!-- Describe the rationale of your PR. --> <!-- Link all issues that it closes. (Closes/Resolves #xxxx.) --> Fixes #4447. ## How did you fix it? <!-- A detailed description of your implementation. --> I fixed it by adding an `unset` built-in. ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed. --------- Co-authored-by: merceyz <merceyz@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
reproducible
This issue can be successfully reproduced
shell
This issue is about @yarnpkg/shell
Self-service
Describe the bug
I am in the process of migrating Yarn from v1 to latest (v3.2.0) and it has gone well, but now my tests don't run because the test script unsets some environment variables.
The output is:
To reproduce
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: