Closed Akkuma closed 7 years ago
@bucaran Wtf does "++" mean? These new labels are SO jarring. Caps for the loss 💀
Changed enhancement for ++. What do you want to call it? (Other than enhancement.)
@bucaran imo, (please) leave everything lowercase. And ++
==> feature
, ?
==> maybe
@lukeed Sorry, I missed your reply. I'm fine with your name changes. I kinda like the names in uppercase, but you can make them lowercase if you prefer. 🙇
@lukeed What was the original purpose of process.chdir
? I can't see any code dependent on process.cwd
.
@hzlmn I think it was to stay true to the this.root
value, so that pathing & targeting worked correctly. Tbh, I'm not sure if it's still doing anything useful.
I wrote a library that basically allows integration of web extensions within other web extensions and handles the heavy lifting of merging the child extensions into the parent. The first child extension to leverage this uses Fly and fly uses
process.chdir
, but never reverts it once its work is done. This impacts other code that expectsprocess.cwd
to remain correct.There are two options that spring to mind. One retain a reference to the original
process.cwd
and switch back after tasks are ran. Two future don't change cwd, but pass along "cwd of fly" to code that requires it.