Skip to content

Commit c6749bc

Browse files
MesteeryBethGriggs
authored andcommitted
doc,readline: add missing node protocol in example
PR-URL: #41560 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 9ea8e49 commit c6749bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/readline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following simple example illustrates the basic use of the `readline` module.
3333

3434
```mjs
3535
import * as readline from 'node:readline/promises';
36-
import { stdin as input, stdout as output } from 'process';
36+
import { stdin as input, stdout as output } from 'node:process';
3737

3838
const rl = readline.createInterface({ input, output });
3939

0 commit comments

Comments
 (0)