-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
add LTS to releases table #300
Conversation
return callback(err) | ||
} | ||
|
||
versions.forEach((v) => v.lts === false && delete v.lts) |
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.
I believe Handlebars.js can ignore false
values so no need to delete
false
property
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.
no, I added this exactly because it didn't ignore it and I ended up with a bunch of false
s in the column
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.
@rvagg how do you like the {{#if lts}}{{lts}}{{/if}}
solution I suggested below?
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.
sorry, missed it, have updated to use that instead, tbh I didn't know that was possible although I did a quick google for such syntax!
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.
oh ok :) not saying this is better though.
bc95594
to
7736f29
Compare
|
7736f29
to
d0b113a
Compare
No description provided.