Skip to content

Conversation

@fhemberger
Copy link
Contributor

Node.js versions are the only ones (historically) prefixed with a 'v', contrary to other included components like npm or v8.

As the content of versions.json is used on multiple occasions and I didn't want to break any functionality requiring the prefix (e.g. download links), I added a new Handlebars helper to remove the prefix where needed.

At the moment, this is implemented on the home page, download page headline and the revision list.

Fixes #1246.

@lpinca
Copy link
Member

lpinca commented Oct 3, 2017

Code looks good to me but I'm not sure if we should remove the leading v. I would keep it for consistency with

$ node -v
v8.6.0

@gibfahn
Copy link
Member

gibfahn commented Oct 4, 2017

SGTM for reasons stated in #1246 (comment)

@lpinca
Copy link
Member

lpinca commented Oct 4, 2017

I have no strong opinions, :shipit: ?

@fhemberger
Copy link
Contributor Author

Okay, no veto from anyone, so :shipit:

@fhemberger fhemberger merged commit 2560114 into master Oct 6, 2017
@fhemberger fhemberger deleted the feature/version-string branch October 6, 2017 13:03
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.

Node.js 8 version listed with a v in Downloads

4 participants