Skip to content

repl: remove variable redeclaration - #4977

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:repl-no-redeclare
Closed

Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:repl-no-redeclare

Conversation

@Trott

@Trott Trott commented Jan 30, 2016

Copy link
Copy Markdown
Member

match and filter are declared twice with var in repl.js. Declare the variables only once.

`match` and `filter` are declared twice with `var` in `repl.js`.
Declare the variables only once.
@Trott Trott added repl Issues and PRs related to the REPL subsystem. lts-watch-v4.x labels Jan 30, 2016
@mscdex

mscdex commented Jan 30, 2016

Copy link
Copy Markdown
Contributor

LGTM if CI is ok with it.

@Trott

Trott commented Jan 30, 2016

Copy link
Copy Markdown
Member Author
@jasnell

jasnell commented Feb 1, 2016

Copy link
Copy Markdown
Member

LGTM

jasnell pushed a commit that referenced this pull request Feb 1, 2016
`match` and `filter` are declared twice with `var` in `repl.js`.
Declare the variables only once.

PR-URL: #4977
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell

jasnell commented Feb 1, 2016

Copy link
Copy Markdown
Member

Landed in ba81d15

@jasnell jasnell closed this Feb 1, 2016
rvagg pushed a commit that referenced this pull request Feb 8, 2016
`match` and `filter` are declared twice with `var` in `repl.js`.
Declare the variables only once.

PR-URL: #4977
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 17, 2016
`match` and `filter` are declared twice with `var` in `repl.js`.
Declare the variables only once.

PR-URL: #4977
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 18, 2016
`match` and `filter` are declared twice with `var` in `repl.js`.
Declare the variables only once.

PR-URL: #4977
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Feb 18, 2016
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
`match` and `filter` are declared twice with `var` in `repl.js`.
Declare the variables only once.

PR-URL: #4977
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
`match` and `filter` are declared twice with `var` in `repl.js`.
Declare the variables only once.

PR-URL: nodejs#4977
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott
Trott deleted the repl-no-redeclare branch January 13, 2022 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

repl Issues and PRs related to the REPL subsystem.

4 participants