summaryrefslogtreecommitdiff
path: root/doc/api/fs.md
diff options
context:
space:
mode:
authorMaledong <maledong_github@outlook.com>2019-09-01 11:07:24 +0800
committerRich Trott <rtrott@gmail.com>2019-09-03 14:21:34 -0700
commit3c84556654fb81d73a61b9d19bba3df6aac94e0e (patch)
tree5de605237404a21943a18c2bbb1726dd93a4ba4c /doc/api/fs.md
parent40060f4e42a9f2c79d14c704f4496320b18c0483 (diff)
downloadandroid-node-v8-3c84556654fb81d73a61b9d19bba3df6aac94e0e.tar.gz
android-node-v8-3c84556654fb81d73a61b9d19bba3df6aac94e0e.tar.bz2
android-node-v8-3c84556654fb81d73a61b9d19bba3df6aac94e0e.zip
doc: change the 'txt' to 'console' for a command
This is the document formation, because `node` is a command to be executed, we should reguard it as a command prompt instead of a command txt type. PR-URL: https://github.com/nodejs/node/pull/29389 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/fs.md')
-rw-r--r--doc/api/fs.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md
index a045f45418..5341b4bc15 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -85,7 +85,7 @@ variable:
Omitting the callback function on asynchronous fs functions is deprecated and
may result in an error being thrown in the future.
-```txt
+```console
$ cat script.js
function bad() {
require('fs').readFile('/');