From c6749bc5900e5d0277d99d5e90a81a51218e9e09 Mon Sep 17 00:00:00 2001 From: Mestery Date: Tue, 18 Jan 2022 19:04:09 +0100 Subject: [PATCH] doc,readline: add missing node protocol in example PR-URL: https://github.com/nodejs/node/pull/41560 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: James M Snell --- doc/api/readline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/readline.md b/doc/api/readline.md index 31d910e1b68b81..ab93b59eb2ee9c 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -33,7 +33,7 @@ The following simple example illustrates the basic use of the `readline` module. ```mjs import * as readline from 'node:readline/promises'; -import { stdin as input, stdout as output } from 'process'; +import { stdin as input, stdout as output } from 'node:process'; const rl = readline.createInterface({ input, output });