Skip to content

module: refactor redeclared variable - #4962

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

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

Conversation

@Trott

@Trott Trott commented Jan 30, 2016

Copy link
Copy Markdown
Member

homedir was declared with var twice in the same scope in
lib/module.js. This change makes it a single declaration.

`homedir` was declared with `var` twice in the same scope in
`lib/module.js`. This change makes it a single declaration.
@Trott Trott added module Issues and PRs related to the module subsystem. lts-watch-v4.x labels Jan 30, 2016
@mscdex

mscdex commented Jan 30, 2016

Copy link
Copy Markdown
Contributor

LGTM

@Trott

Trott commented Jan 30, 2016

Copy link
Copy Markdown
Member Author
@JungMinu

Copy link
Copy Markdown
Member

LGTM

r-52 pushed a commit that referenced this pull request Jan 31, 2016
`homedir` was declared with `var` twice in the same scope in
`lib/module.js`. This change makes it a single declaration.

PR-URL: #4962
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
@r-52

r-52 commented Jan 31, 2016

Copy link
Copy Markdown
Contributor

Thanks! Landed in 0c113e8

@r-52 r-52 closed this Jan 31, 2016
rvagg pushed a commit that referenced this pull request Feb 8, 2016
`homedir` was declared with `var` twice in the same scope in
`lib/module.js`. This change makes it a single declaration.

PR-URL: #4962
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 17, 2016
`homedir` was declared with `var` twice in the same scope in
`lib/module.js`. This change makes it a single declaration.

PR-URL: #4962
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 18, 2016
`homedir` was declared with `var` twice in the same scope in
`lib/module.js`. This change makes it a single declaration.

PR-URL: #4962
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Feb 18, 2016
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
`homedir` was declared with `var` twice in the same scope in
`lib/module.js`. This change makes it a single declaration.

PR-URL: #4962
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
`homedir` was declared with `var` twice in the same scope in
`lib/module.js`. This change makes it a single declaration.

PR-URL: nodejs#4962
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
@Trott
Trott deleted the module-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

module Issues and PRs related to the module subsystem.

5 participants