Skip to content

Support leading v in .node-version - #359

Merged
ekalinin merged 1 commit into
ekalinin:masterfrom
nix6839:node-version-leading-v
Aug 25, 2024
Merged

ekalinin merged 1 commit into
ekalinin:masterfrom
nix6839:node-version-leading-v

Conversation

@nix6839

@nix6839 nix6839 commented Jun 11, 2024

Copy link
Copy Markdown
Contributor

From: https://github.com/shadowspawn/node-version-usage#suggested-compatible-format

Allowing a leading v is common and gives nice symmetry with node --version

$ node --version
v20.12.0
$ node --version > .node-version

@ekalinin

Copy link
Copy Markdown
Owner

Hey!
Thanks for the patch!
Could you add a test, please?

@nix6839
nix6839 force-pushed the node-version-leading-v branch from c53405f to 112c7af Compare June 11, 2024 17:16
@nix6839

nix6839 commented Jun 11, 2024

Copy link
Copy Markdown
Contributor Author

Could you add a test, please?

I've added the test.

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