You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting strange behavior when trying to implement the chmod() function. It only gets passed 2 arguments it seems, the path and mode. But the callback function (expected as 3rd argument) is not there! See log:
Where the code looks something like this (basically a no-op, just with some logging):
functionchmod(path,mode,cb){console.error(arguments);debug('CHMOD: path=%o mode=%o',path,mode);if(cb)returncb(0);elseconsole.error('chmod() does not pass a cb() function... wtf');}
Fixesbcle#35.
It also looks like a few of these other OP's might also need this same treatment (i.e. "truncate"), though I haven't yet tested to verify that.
I'm getting strange behavior when trying to implement the
chmod()
function. It only gets passed 2 arguments it seems, thepath
andmode
. But the callback function (expected as 3rd argument) is not there! See log:Where the code looks something like this (basically a no-op, just with some logging):
Any idea what's going on here? Thanks in advance.
/cc @gierschv @bcle
The text was updated successfully, but these errors were encountered: