0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Teddy Katz 5823938d15
doc: fix incorrect fs.readFileSync example output
This fixes an incorrect example in the documentation for calling
`fs.readFileSync` on a directory. The example was presumably copied from
the documentation for `fs.readFile`, which has an error argument in its
callback.

PR-URL: https://github.com/nodejs/node/pull/20902
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2018-05-23 00:35:47 -04:00
..
_toc.md trace_events: adds a new trace_events api 2018-04-17 08:30:20 -07:00
addons.md doc: fix stability text for n-api 2018-05-11 14:58:54 -07:00
all.md
assert.md doc: add missing changes: entry for assert.throws 2018-05-14 19:52:35 +02:00
async_hooks.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
buffer.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
child_process.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
cli.md module: add --preserve-symlinks-main 2018-05-13 00:28:16 +03:00
cluster.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
console.md doc: match console.count()/countReset() signatures 2018-05-08 18:12:55 +03:00
crypto.md doc: update one more command in crypto.md 2018-05-07 04:09:28 +03:00
debugger.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
deprecations.md util: remove custom inspection function 2018-05-19 19:30:58 +02:00
dgram.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
dns.md doc: fix typo in dns docs 2018-05-14 18:06:38 +02:00
documentation.md doc, tools: unify stability signatures 2018-05-09 00:52:13 +03:00
domain.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
errors.md doc: fix some nits in hardcoded manpage links 2018-05-21 00:05:36 +03:00
esm.md esm: provide named exports for builtin libs 2018-05-11 12:06:18 -05:00
events.md doc: clarify this in event listeners 2018-05-08 13:28:38 +03:00
fs.md doc: fix incorrect fs.readFileSync example output 2018-05-23 00:35:47 -04:00
globals.md 2018-04-24, Version 10.0.0 (Current) 2018-04-24 12:02:31 -07:00
http2.md http2: fix several serious bugs 2018-05-22 11:42:33 +04:00
http.md http: make client .aborted boolean 2018-05-14 23:05:09 +03:00
https.md https: defines maxHeadersCount in the constructor 2018-05-05 13:57:07 +02:00
index.md
inspector.md doc: remove redundant empty lines 2018-04-29 17:48:43 +03:00
intl.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
modules.md doc: add global node_modules to require.resolve() 2018-05-12 01:18:10 +03:00
n-api.md doc: fixup NODE_EXTERN -> NAPI_EXTERN 2018-05-14 18:36:16 +02:00
net.md doc: fix some nits in hardcoded manpage links 2018-05-21 00:05:36 +03:00
os.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
path.md
perf_hooks.md doc: remove redundant empty lines 2018-04-29 17:48:43 +03:00
process.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
punycode.md doc: add and unify even more return values 2018-04-12 03:18:01 +03:00
querystring.md doc: remove redundant empty lines 2018-04-29 17:48:43 +03:00
readline.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
repl.md doc: document using domain in REPL 2018-05-04 23:05:56 +03:00
stream.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
string_decoder.md doc: unify section structures 2018-04-15 02:37:50 +03:00
synopsis.md doc: add missing periods or colons 2018-05-02 06:17:08 +03:00
timers.md timers: make timer.refresh() a public API 2018-05-10 22:19:27 +05:30
tls.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
tracing.md vm,trace_events: add node.vm.script trace events category 2018-05-16 14:34:41 -07:00
tty.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
url.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
util.md util: remove custom inspection function 2018-05-19 19:30:58 +02:00
v8.md doc: add missing YAML keyword in v8.md metadata 2018-04-14 11:54:09 +03:00
vm.md doc: update VM section text 2018-05-09 10:23:21 +02:00
zlib.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00