Skip to content

Commit

Permalink
repl: migrate from process.binding('config') to getOptions()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jose Bucio authored and Trott committed Oct 22, 2018
1 parent 89aa33a commit f1b9546
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ const {
ERR_SCRIPT_EXECUTION_INTERRUPTED
} = require('internal/errors').codes;
const { sendInspectorCommand } = require('internal/util/inspector');
const { experimentalREPLAwait } = process.binding('config');
const experimentalREPLAwait = internalBinding('options').getOptions(
'--experimental-repl-await'
);
const { isRecoverableError } = require('internal/repl/recoverable');
const {
getOwnNonIndexProperties,
Expand Down

0 comments on commit f1b9546

Please sign in to comment.