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

update for node 14 support #157

Merged
merged 1 commit into from
Jul 24, 2020
Merged

update for node 14 support #157

merged 1 commit into from
Jul 24, 2020

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Jul 19, 2020

Marking this as a work in progress because one line of code (lib/index.js line 138) is missing coverage.

If anyone wants to write a test for that line, contributions are very welcome.

@cjihrig cjihrig marked this pull request as ready for review July 23, 2020 23:37
@cjihrig cjihrig requested review from geek and lloydbenson July 23, 2020 23:37
Code.expect(1).to.equal(2);
}
catch (err) {
var exception = err;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't use var and rather declare a let variable next to captureStackTrace but it's just nitpicking.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's part of hapi's custom ESLint setup. It's used in other places in this file, and across other hapi modules.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, my bad. I didn't know about this rule. I didn't check in the file if it was a recurrent pattern.

@cjihrig cjihrig merged commit c6eaaed into hapijs:master Jul 24, 2020
@cjihrig cjihrig deleted the version branch July 24, 2020 12:23
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.

4 participants