Skip to content
Permalink
Browse files

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>
  • Loading branch information...
jbucio2 authored and Trott committed Oct 16, 2018
1 parent 89aa33a commit f1b95467dc3b79a247d92d63a3b1539fcf348369
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/repl.js
@@ -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,

0 comments on commit f1b9546

Please sign in to comment.
You can’t perform that action at this time.