0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/lib
Zheng Chaoping 1594198600 fs: return null error on readFile() success
This commit ensures that readFile() callsback with a null
error consistently on success.

PR-URL: https://github.com/nodejs/node/pull/3740
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2015-11-11 13:58:47 -05:00
..
internal lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
_debug_agent.js
_debugger.js debugger: use strict equality comparison 2015-08-26 13:22:55 -07:00
_http_agent.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
_http_client.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
_http_common.js http: fix stalled pipeline bug 2015-10-14 12:16:18 -04:00
_http_incoming.js http: do not allow multiple instances of certain response headers 2015-10-06 14:53:21 -07:00
_http_outgoing.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
_http_server.js http: fix stalled pipeline bug 2015-10-14 12:16:18 -04:00
_linklist.js lib,test: deprecate _linklist 2015-10-08 17:32:08 -07:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js
_stream_readable.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
_stream_transform.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
_stream_wrap.js _stream_wrap: prevent use after free in TLS 2015-06-30 20:09:22 -07:00
_stream_writable.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
_tls_common.js tls: output warning of setDHParam to console.trace 2015-10-16 11:40:05 +09:00
_tls_legacy.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
_tls_wrap.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
assert.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
buffer.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
child_process.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
cluster.js cluster: send suicide message on disconnect 2015-11-11 11:17:37 -05:00
console.js console: use 'label' argument for time and timeEnd 2015-11-10 15:37:06 +01:00
constants.js
crypto.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
dgram.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
dns.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
domain.js src: fix --abort-on-uncaught-exception 2015-10-05 18:12:43 -07:00
events.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
fs.js fs: return null error on readFile() success 2015-11-11 13:58:47 -05:00
http.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
https.js http{s}: don't connect to localhost on invalid URL 2015-10-27 08:47:23 +05:30
module.js module: remove unnecessary JSON.stringify 2015-11-05 09:48:11 -08:00
net.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
os.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
path.js test: fix tests that check error messages 2015-11-10 07:12:33 +01:00
process.js
punycode.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
querystring.js lib: don't use global Buffer 2015-06-11 20:24:44 +02:00
readline.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
repl.js repl: To exit, press ^C again or type .exit. 2015-11-09 11:52:13 -08:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js lib: don't use global Buffer 2015-06-11 20:24:44 +02:00
sys.js util: introduce printDeprecationMessage function 2015-06-04 10:59:43 +03:00
timers.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
tls.js tls: remove util and calls to util.format 2015-10-28 16:57:55 -07:00
tty.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
url.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
util.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00
v8.js src: add total_available_size to v8 statistics 2015-08-11 22:51:50 +02:00
vm.js
zlib.js lib: Consistent error messages in all modules 2015-11-09 20:08:36 +01:00