repl: remove unused function
replStart() was defined but never used. The function has been removed. Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
This commit is contained in:
parent
3311267f75
commit
590bc734bb
@ -14,12 +14,6 @@ module.exports.createInternalRepl = createRepl;
|
|||||||
// The debounce is to guard against code pasted into the REPL.
|
// The debounce is to guard against code pasted into the REPL.
|
||||||
const kDebounceHistoryMS = 15;
|
const kDebounceHistoryMS = 15;
|
||||||
|
|
||||||
// XXX(chrisdickinson): hack to make sure that the internal debugger
|
|
||||||
// uses the original repl.
|
|
||||||
function replStart() {
|
|
||||||
return REPL.start.apply(REPL, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
function createRepl(env, opts, cb) {
|
function createRepl(env, opts, cb) {
|
||||||
if (typeof opts === 'function') {
|
if (typeof opts === 'function') {
|
||||||
cb = opts;
|
cb = opts;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user