Commit 27a937bc authored by Maciej Małecki's avatar Maciej Małecki Committed by isaacs
Browse files

Revert "startup: use `path.resolve` instead of `path.join(cwd, ...)`"

This reverts commit b0c15412.

Reverted commit introduced a regression causing `process.argv[0]` to be
invalid in node processes spawned from `PATH` (without explicit path to
executable file - for example when using global node installation).

Instead of finding a correct path to the executable, `process.cwd()`
would be prepended to `process.argv[0]`.
parent b73ec84c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment