Commit 48334dc0 authored by isaacs's avatar isaacs Committed by Ryan Dahl
Browse files

Fix regression introduced in fe804d9b

It breaks argv[0] on posix systems, and makes it so that npm can't
determine whether node was run from an explicit location, or via "node",
so the configs default improperly.

If on windows, don't do this behavior.  On posix, go back to the old
behavior.
parent b6dafc1a
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