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

Use "Node.js" instead of "Node" in messages #1120

Open
trivikr opened this issue May 10, 2024 · 1 comment
Open

Use "Node.js" instead of "Node" in messages #1120

trivikr opened this issue May 10, 2024 · 1 comment

Comments

@trivikr
Copy link

trivikr commented May 10, 2024

Is your feature request related to a problem? Please describe.

When running fnm use, it uses the term Node as follows:

$ fnm use 18
Using Node v18.20.2

Describe the solution you'd like

According to the most common words used by Node.js, it should be either node or Node.js

$ fnm use 18
Using node v18.20.2
$ fnm use 18
Using Node.js v18.20.2

If we follow what's used by node executable, it should be latter, i.e. Node.js

$ cat throwError.js 
throw Error("error");

$ node throwError.js 
...
Node.js v18.20.2

Describe alternatives you've considered

N/A

Additional context

This is a minor issue, but aligns with most common word used by Node.js.

@trivikr
Copy link
Author

trivikr commented May 10, 2024

This would apply to other commands to, like install

Current behavior

$ fnm install 22
Installing Node v22.1.0 (arm64)

Expected behavior

$ fnm install 22
Installing Node.js v22.1.0 (arm64)

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

No branches or pull requests

1 participant