From e4679bd45d93ba62b12c8e0e5f03a3a5c187c474 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 20 Aug 2020 16:52:26 -0700 Subject: [PATCH] doc: use 'console' info string for console output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/34837 Reviewed-By: Michaƫl Zasso Reviewed-By: Richard Lau --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 2968e0385b3656..18efdb3c8b7ec1 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!