Skip to content

Commit

Permalink
doc,readline: add missing node protocol in example
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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]>
  • Loading branch information
Mesteery authored and Linkgoron committed Jan 31, 2022
1 parent 5a2a5d7 commit 0ba0cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand Down

0 comments on commit 0ba0cae

Please sign in to comment.