We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b7a2b commit e54584fCopy full SHA for e54584f
lib/daemon.js
@@ -427,7 +427,7 @@ var daemon = function(config){
427
enumerable: false,
428
writable: true,
429
configurable: false,
430
- value: config.hasOwnProperty('workingDirectory') || process.cwd()
+ value: config.hasOwnProperty('workingDirectory') ? config.workingDirectory : process.cwd()
431
},
432
433
// Optionally provide a sudo password.
0 commit comments