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

zlib: fix linting recently-introduced lint error #9524

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Nov 9, 2016

Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

zlib

Description of change

Remove unnecessary named function. V8 will do a better job inferring the
name from the assignment to a property. The current formulation does not
pass linting.

Refs: #9389 (comment)

@Trott Trott added the zlib Issues and PRs related to the zlib subsystem. label Nov 9, 2016
@Trott Trott mentioned this pull request Nov 9, 2016
@Trott
Copy link
Member Author

Trott commented Nov 9, 2016

Because CI will fail until this gets fixed and is such a minor change, I would advocate that this not wait the usual 48 hours but land sooner.

Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

LGTM and feel free to jump straight to landing this as far as I am concerned

@Trott
Copy link
Member Author

Trott commented Nov 9, 2016

Remove unnecessary named function. V8 will do a better job inferring the
name from the assignment to a property. The current formulation does not
pass linting.
@Trott Trott changed the title zlib: fix linting recently-introduce lint error zlib: fix linting recently-introduced lint error Nov 9, 2016
Trott added a commit to Trott/io.js that referenced this pull request Nov 9, 2016
Remove unnecessary named function. V8 will do a better job inferring the
name from the assignment to a property. The current formulation does not
pass linting.

PR-URL: nodejs#9524
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@Trott
Copy link
Member Author

Trott commented Nov 9, 2016

Landed in 5025d7b

@Trott Trott closed this Nov 9, 2016
addaleax pushed a commit that referenced this pull request Nov 22, 2016
Remove unnecessary named function. V8 will do a better job inferring the
name from the assignment to a property. The current formulation does not
pass linting.

PR-URL: #9524
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@MylesBorins MylesBorins added the baking-for-lts PRs that need to wait before landing in a LTS release. label May 15, 2017
@MylesBorins MylesBorins removed the baking-for-lts PRs that need to wait before landing in a LTS release. label Aug 17, 2018
@Trott Trott deleted the fix-lint-issue branch January 13, 2022 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zlib Issues and PRs related to the zlib subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants