Skip to content

Commit

Permalink
Don't read process.env.NODE
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu committed Sep 6, 2023
1 parent 9dc3b40 commit b8b1db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspaces/config/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class Config {
for (const { data } of this.data.values()) {
this.#flatten(data, this.#flatOptions)
}
this.#flatOptions.nodeBin = process.env.NODE || this.execPath
this.#flatOptions.nodeBin = this.execPath
this.#flatOptions.npmBin = this.npmBin
process.emit('timeEnd', 'config:load:flatten')

Expand Down

0 comments on commit b8b1db3

Please sign in to comment.