Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-08-21 02:52:26 +0300
committerRich Trott <rtrott@gmail.com>2020-08-21 16:18:02 +0300
commitfc6f136b54f290399eb5ac1576cf57f984de85ac (patch)
treefb38ca32539352e24c7f0dfc3598a0739595f043 /doc/api/esm.md
parentacd423b45edad27427a6c4faa5bbed624983ae51 (diff)
doc: use 'console' info string for console output
PR-URL: https://github.com/nodejs/node/pull/34837 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'doc/api/esm.md')
-rw-r--r--doc/api/esm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 2968e0385b3..18efdb3c8b7 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -1895,7 +1895,7 @@ requires the full path to a module be provided to the loader. To enable the
automatic extension resolution and importing from directories that include an
index file use the `node` mode.
-```bash
+```console
$ node index.mjs
success!
$ node index # Failure!