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: #41560
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Mesteery authored and BethGriggs committed Jan 24, 2022
1 parent 9ea8e49 commit c6749bc
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 c6749bc

Please sign in to comment.