mirror of https://github.com/nodejs/node.git
fs: fix ReferenceError in truncateSync()
Fixes a minor oversight introduced in 168a555
, resulting in the following error:
fs.js:467
return fs.ftruncateSync(path, len, callback);
^
ReferenceError: callback is not defined
at Object.fs.truncateSync (fs.js:467:40)
pull/24503/head
parent
08b382c2fb
commit
5fba3b85c5
Loading…
Reference in New Issue