Files
node-v0.x-archive/doc
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-08-23 17:54:23 +02:00
2012-08-23 17:54:23 +02:00
2012-08-23 17:54:23 +02:00
2012-08-15 09:09:23 -07:00
2012-08-15 09:09:23 -07:00
2012-08-15 09:09:23 -07:00
2012-09-27 13:25:55 -07:00
2011-11-27 21:52:27 +01:00
2012-08-24 15:47:53 +02:00
2012-02-14 14:34:43 -08:00
2012-06-22 08:49:20 -07:00
2009-09-10 13:40:38 +02:00
2012-08-15 09:09:23 -07:00
2011-07-11 08:30:37 -07:00
2011-12-05 16:20:44 -08:00