Skip to content

Commit

Permalink
fixup! feat(config): add more npm/node information to config ls
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored and fritzy committed Apr 13, 2022
1 parent 6611e91 commit 03a034b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/commands/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ ${defData}
msg.push(
`; node bin location = ${process.execPath}`,
`; node version = ${process.version}`,
`; npm bin location = ${dirname(dirname(__dirname))}`,
`; npm local prefix = ${this.npm.localPrefix}`,
`; npm version = ${this.npm.version}`,
`; cwd = ${process.cwd()}`,
`; HOME = ${process.env.HOME}`,
Expand Down
6 changes: 3 additions & 3 deletions tap-snapshots/test/lib/commands/config.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ userconfig = "{HOME}/.npmrc"
; node bin location = {EXECPATH}
; node version = {NODE-VERSION}
; npm bin location = {NPMDIR}
; npm local prefix = {LOCALPREFIX}
; npm version = {NPM-VERSION}
; cwd = {NPMDIR}
; HOME = {HOME}
Expand All @@ -359,7 +359,7 @@ userconfig = "{HOME}/.npmrc"
; node bin location = {EXECPATH}
; node version = {NODE-VERSION}
; npm bin location = {NPMDIR}
; npm local prefix = {LOCALPREFIX}
; npm version = {NPM-VERSION}
; cwd = {NPMDIR}
; HOME = {HOME}
Expand Down Expand Up @@ -390,7 +390,7 @@ userconfig = "{HOME}/.npmrc"
; node bin location = {EXECPATH}
; node version = {NODE-VERSION}
; npm bin location = {NPMDIR}
; npm local prefix = {LOCALPREFIX}
; npm version = {NPM-VERSION}
; cwd = {NPMDIR}
; HOME = {HOME}
Expand Down

0 comments on commit 03a034b

Please sign in to comment.