Closed dan-h-ch closed 5 years ago
Yeah, I'm not sure why a change to readme would cause checks to fail. It is possible checks are failing on master?
EDIT - I just checked other open PR's and looks like checks are failing for all of them.
This doesn't look like a necessary change. It's valid javascript and having await
in the example already assumes a recent version of node.
As stated in the linked issue, this is valid and common ES2015 code.
Yes, it's totally valid code but I think a bit confusing to follow as an example.
How so? You're unlikely to be reading this readme if you're still learning the language, I'd say it's fair to use features people are supposed to know anyway.
I'm not saying it's not fair, but I feel like it could be a bit more friendly. While ES2015 should be widely adopted, I think feel like there may be some developers that are not using all the syntactical sugar that it came with.
Then they might learn something.
Created a PR based on comments in this thread.
https://github.com/hapijs/good/issues/527
Hopefully saves someone few hours of searching and getting lucky.