Skip to content

Conversation

@nix6839
Copy link
Contributor

@nix6839 nix6839 commented Jun 11, 2024

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
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
Copy link
Contributor Author

nix6839 commented Jun 11, 2024

Could you add a test, please?

I've added the test.

@ekalinin ekalinin merged commit 4442d10 into ekalinin:master Aug 25, 2024
@nix6839 nix6839 deleted the node-version-leading-v branch August 25, 2024 11:52
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