Skip to content

test: fix lint error regarding unused commons const - #9334

Closed
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:fix-lint-issue-in-test-stream-writableState-ending.js
Closed

test: fix lint error regarding unused commons const#9334
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:fix-lint-issue-in-test-stream-writableState-ending.js

Conversation

@danbev

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

test

Description of change

Currently, make lint is failing with the following error:

 3:7 error 'common' is assigned a value but never used no-unused-vars
✖ 1 problem (1 error, 0 warnings)

Currently, make lint is failing with the following error:
3:7 error 'common' is assigned a value but never used no-unused-vars
✖ 1 problem (1 error, 0 warnings)
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Oct 28, 2016
@danbev

Copy link
Copy Markdown
ContributorAuthor

@mscdexmscdex added the stream Issues and PRs related to the stream subsystem. label Oct 28, 2016
@gibfahn

gibfahn commented Oct 28, 2016

Copy link
Copy Markdown
Member

I don't think this needs to wait the full 48 hours.

Linter passed, so it looks like CI was successful.

@lpinca

Copy link
Copy Markdown
Member

I don't think this needs to wait the full 48 hours.

I agree.

@mcollina

Copy link
Copy Markdown
Member

Sorry about this. Just to understand, isn't the linter run within the CI test?

@lpinca

Copy link
Copy Markdown
Member

@mcollina yes. I think linter failed here https://ci.nodejs.org/job/node-test-commit/5798/

@danbev

Copy link
Copy Markdown
ContributorAuthor

I'll merge this. Thanks for the reviews!

danbev added a commit to danbev/node that referenced this pull request Oct 28, 2016
Currently, make lint is failing with the following error:
3:7 error 'common' is assigned a value but never used no-unused-vars
✖ 1 problem (1 error, 0 warnings)
PR-URL: nodejs#9334
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
@danbev

Copy link
Copy Markdown
ContributorAuthor

Landed in 690bded

@danbevdanbev closed this Oct 28, 2016
@gibfahn

Copy link
Copy Markdown
Member

@mcollina I try to always run make -j8 lint before I merge commits, even doc commits, just to be on the safe side. It only takes about 15 seconds.

evanlucas pushed a commit that referenced this pull request Nov 3, 2016
Currently, make lint is failing with the following error:
3:7 error 'common' is assigned a value but never used no-unused-vars
✖ 1 problem (1 error, 0 warnings)
PR-URL: #9334
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
@evanlucasevanlucas mentioned this pull request Nov 3, 2016
@MylesBorins

Copy link
Copy Markdown
Contributor

Does anyone know which commit broke the linter?

@lpinca

Copy link
Copy Markdown
Member

@thealphanerd AFAIK the linter worked fine, it was just overlooked, see #9334 (comment).

@danbev
danbev deleted the fix-lint-issue-in-test-stream-writableState-ending.js branch January 17, 2017 07:16
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

streamIssues and PRs related to the stream subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@danbev@gibfahn@lpinca@mcollina@MylesBorins@mscdex@nodejs-github-bot