Commit 5fba3b85 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

fs: fix ReferenceError in truncateSync()

Fixes a minor oversight introduced in 168a5557, 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)
parent 08b382c2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment