Files
node-v0.x-archive/doc/api
Ben Noordhuis a80434736b fs: fix 'object is not a function' callback errors
Use a default callback if the user omitted one. Avoids errors like the one
below:

  fs.js:777
      if (err) return callback(err);
                      ^
  TypeError: object is not a function
          at fs.appendFile (fs.js:777:21)
          at Object.oncomplete (fs.js:297:15)

This commit fixes the behavior of fs.lchmod(), fs.lchown() and fs.readFile()
when the callback is omitted. Before, they silently swallowed errors.

Fixes #4352.
2012-12-04 08:05:55 +01:00
..
2012-09-17 16:05:53 +02:00
2012-04-18 21:51:16 +02:00
2012-03-03 17:03:59 -08:00
2010-11-07 17:22:56 -08:00
2012-11-08 12:31:45 -08:00
2012-02-29 16:04:54 -08:00
2012-08-12 00:07:22 +02:00