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

test: replace var statements by let statements #36069

Merged
merged 1 commit into from
Nov 13, 2020

Conversation

arsenalzp
Copy link
Contributor

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Nov 10, 2020
@Trott
Copy link
Member

Trott commented Nov 10, 2020

Seems to me these could be const?

@arsenalzp
Copy link
Contributor Author

Seems to me these could be const?
Hello,
Thank you for remark.
I took it into account and replaced let statement by const statement.

@@ -269,7 +269,7 @@ function pipeline(...streams) {
} else {
const name = reading ? `transform[${i - 1}]` : 'destination';
throw new ERR_INVALID_ARG_TYPE(
name, ['Stream', 'Function'], ret);
name, ['Stream', 'Function'], stream);
Copy link
Member

Choose a reason for hiding this comment

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

Unrelated change?

Copy link
Member

Choose a reason for hiding this comment

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

I rebased and that fixed this.

@Trott Trott added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 11, 2020
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 11, 2020
@nodejs-github-bot
Copy link
Collaborator

@Trott
Copy link
Member

Trott commented Nov 12, 2020

Might you be using git merge or git pull rather than git rebase? It keeps including other folks' commits and adding in merge commits, both of which mess up our tooling. (Not your fault. Our tooling is picky.) See instructions at https://github.com/nodejs/node/blob/35274cbddf7206687b2e30d32e57d293750e19a0/doc/guides/contributing/pull-requests.md#step-5-rebase

@Trott
Copy link
Member

Trott commented Nov 12, 2020

Rebased and squashed.

@Trott Trott added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 12, 2020
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 12, 2020
@nodejs-github-bot
Copy link
Collaborator

@gireeshpunathil gireeshpunathil added the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 12, 2020
@github-actions github-actions bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Nov 12, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Nov 12, 2020

Commit Queue failed
- Loading data for nodejs/node/pull/36069
✔  Done loading data for nodejs/node/pull/36069
----------------------------------- PR info ------------------------------------
Title      test: replace var statements by let statements (#36069)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     arsenalzp:my-branch -> nodejs:master
Labels     test
Commits    1
 - test: replace var with const
Committers 1
 - Rich Trott 
PR-URL: https://github.com/nodejs/node/pull/36069
Reviewed-By: Benjamin Gruenbaum 
Reviewed-By: Daijiro Wachi 
Reviewed-By: Rich Trott 
Reviewed-By: Gireesh Punathil 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/36069
Reviewed-By: Benjamin Gruenbaum 
Reviewed-By: Daijiro Wachi 
Reviewed-By: Rich Trott 
Reviewed-By: Gireesh Punathil 
--------------------------------------------------------------------------------
   ✔  Last GitHub Actions successful
   ℹ  Last Full PR CI on 2020-11-12T02:19:31Z: https://ci.nodejs.org/job/node-test-pull-request/34355/
- Querying data for job/node-test-pull-request/34355/
✔  Build data downloaded
   ✔  Last Jenkins CI successful
   ℹ  This PR was created on Tue, 10 Nov 2020 16:52:48 GMT
   ✔  Approvals: 4
   ✔  - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/36069#pullrequestreview-527551478
   ✔  - Daijiro Wachi (@watilde): https://github.com/nodejs/node/pull/36069#pullrequestreview-527721413
   ✔  - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/36069#pullrequestreview-528226897
   ✔  - Gireesh Punathil (@gireeshpunathil) (TSC): https://github.com/nodejs/node/pull/36069#pullrequestreview-528741408
   ✖  This PR needs to wait 12 more hours to land
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
Commit Queue action: https://github.com/nodejs/node/actions/runs/359025849

Replace `var` with `const` in vm context for test-util-inspect.js.

PR-URL: nodejs#36069
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
@Trott Trott merged commit e4507e5 into nodejs:master Nov 13, 2020
@Trott
Copy link
Member

Trott commented Nov 13, 2020

Landed in e4507e5

@arsenalzp arsenalzp deleted the my-branch branch November 14, 2020 14:10
codebytere pushed a commit that referenced this pull request Nov 22, 2020
Replace `var` with `const` in vm context for test-util-inspect.js.

PR-URL: #36069
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
@codebytere codebytere mentioned this pull request Nov 22, 2020
BethGriggs pushed a commit that referenced this pull request Dec 9, 2020
Replace `var` with `const` in vm context for test-util-inspect.js.

PR-URL: #36069
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
BethGriggs pushed a commit that referenced this pull request Dec 10, 2020
Replace `var` with `const` in vm context for test-util-inspect.js.

PR-URL: #36069
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
@BethGriggs BethGriggs mentioned this pull request Dec 10, 2020
BethGriggs pushed a commit that referenced this pull request Dec 15, 2020
Replace `var` with `const` in vm context for test-util-inspect.js.

PR-URL: #36069
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
@targos targos removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants