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: restore information about the YARN_RC_FILENAME environment variable #6088

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

romannovojilov
Copy link

What's the problem this PR addresses?

I found that starting from version 4.0.0, information about the YARN_RC_FILENAME environment variable is missing from the documentation. However, this environment variable is still supported.

Proof:

function getRcFilename() {
const rcKey = `${ENVIRONMENT_PREFIX}rc_filename`;
for (const [key, value] of Object.entries(process.env))
if (key.toLowerCase() === rcKey && typeof value === `string`)
return value as Filename;
return DEFAULT_RC_FILENAME as Filename;
}

How did you fix it?

I have updated the documentation to restore information about the YARN_RC_FILENAME environment variable

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

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.

None yet

1 participant