Skip to content

FIX #41 "cwd" must be a string in Node 8#42

Open
zipang wants to merge 1 commit intoindexzero:masterfrom
zipang:master
Open

FIX #41 "cwd" must be a string in Node 8#42
zipang wants to merge 1 commit intoindexzero:masterfrom
zipang:master

Conversation

@zipang
Copy link

@zipang zipang commented Jun 6, 2017

The fix is quite obvious, but i really really don't know what was happening before Node 8 decided to enforce the parameters validation of child_process.spawn() ?

@p-salido
Copy link

Tested on node 4:

octan% node -v
v4.8.6
octan% echo "console.log(require('process').cwd)" |node
[Function: cwd]
octan% echo "console.log(require('process').cwd())" |node
/home/w/apps/exp/firebase-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants