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 rvagg committed Nov 28, 2018
1 parent d9cb7dd commit 753eb38
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 @@ -71,7 +71,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 753eb38

Please sign in to comment.