Closed piedar closed 4 years ago
I have some code like this
flush (path, fd, reply) { debug("flush", { path, fd }) writer.flush(path) .then(() => reply(0)) .catch(err => { debug({ err }) reply(errorToFuseCode(err)) }) }
but it produces
UnhandledPromiseRejectionWarning: TypeError: reply is not a function
because an extra datasync parameter gets in the way of the documented reply function.
datasync
reply
This change removes the incorrect extra parameter.
Thanks
I have some code like this
but it produces
because an extra
datasync
parameter gets in the way of the documentedreply
function.This change removes the incorrect extra parameter.