Closed ForbesLindesay closed 5 years ago
Sweet, cheers for the PR. I'm completely in favour of this personally. I don't see it being controversial, so happy to merge it soon if I don't hear back from @jamiebuilds .
Would you mind updating the error message in bin.js
too though?
if (majorVer < 4) {
throw new Error(
'Node version ' +
ver +
' is not supported in Bolt, please use Node.js 4.0 or higher.'
);
}
Thanks heaps for the contribution @ForbesLindesay , the change has been done in #246 now, which should be released today (sorry, didn't think to cherry pick your commit 🤦♂ ).
Will update with which version this releases in.
Released in 0.24.0
The build is currently failing anyway, and node 4 has been unsupported for ages. This would save contributors time spend on trying to figure out why their PR is failing.