-
Notifications
You must be signed in to change notification settings - Fork 58
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
Ignore local environment .tool-versions configuration file #4476
Conversation
👋 @dcalhoun ! I'm not familiar with asdf-vm and .tool-version in particular and I wonder, can you share some quick usage of it? Would that also help with testing/verifying this PR? |
@hypest ❯ echo "14.17.6" > .nvmrc
❯ nvm use
❯ node --version
v14.17.6
❯ echo "nodejs 14.17.6" > .tool-versions
❯ asdf current nodejs
nodejs 14.17.6 /Users/[REDACTED]/Sites/a8c/gutenberg/.tool-versions
❯ node --version
v14.17.6 I do not believe there are actionable testing steps for this PR, as it is not proposing any configuration change that impacts the project. The proposed changes relate to Git configuration and help avoid accidental erroneous commits of a tool that I happen to use on my development machine. I would compare the subject to the act of ignoring VSCode editor configuration files. |
Gotcha, thanks for elaborating David! I'll go ahead and LGTM the PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM David, only left a non blocking comment. Thanks!
The `.tool-versions` file configures one's local environment and should likely not be committed. Its format is defined by [asdf-vm](https://asdf-vm.com), and is similar to [nvm](https://github.com/nvm-sh/nvm), [rvm](https://rvm.io), or [rbenv](https://github.com/rbenv/rbenv). Ignore this file will help ensure the configuration is not accidentally committed to the repository.
Follow project practice by inserting empty line to end of file.
6797975
to
e452e1d
Compare
Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job! |
Related PRs
Description
The
.tool-versions
file configures one's local environment and should likely not be committed. Its format is defined by asdf-vm, and is similar to nvm, rvm, or rbenv. Ignoring this file will help ensure the configuration is not accidentally committed to the repository.To test: n/a
PR submission checklist: