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 <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
Jose Bucio authored and targos committed Oct 24, 2018
1 parent fa1373f commit 86cf014
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 86cf014

Please sign in to comment.