process: make --eval and reading scripts from stdin act the same
Reusing the same logic for both places for the behavior is consistent. For example: $ ./node -p -e "'Hello World'" Hello World $ echo "'Hello World'" | ./node -p Hello World
parent
d9bad09e
Please register or sign in to comment