Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 86cf014

Browse filesBrowse files
Jose Buciotargos
authored andcommitted
repl: migrate from process.binding('config') to getOptions()
PR-URL: #23684 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent fa1373f commit 86cf014
Copy full SHA for 86cf014

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Collapse file

‎lib/repl.js‎

Copy file name to clipboardExpand all lines: lib/repl.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ const {
7070
ERR_SCRIPT_EXECUTION_INTERRUPTED
7171
} = require('internal/errors').codes;
7272
const { sendInspectorCommand } = require('internal/util/inspector');
73-
const { experimentalREPLAwait } = process.binding('config');
73+
const experimentalREPLAwait = internalBinding('options').getOptions(
74+
'--experimental-repl-await'
75+
);
7476
const { isRecoverableError } = require('internal/repl/recoverable');
7577
const {
7678
getOwnNonIndexProperties,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.