diff --git a/workspaces/config/lib/index.js b/workspaces/config/lib/index.js index 4d8503f5fedf3..ad07fcdf51826 100644 --- a/workspaces/config/lib/index.js +++ b/workspaces/config/lib/index.js @@ -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')