Skip to content

Commit

Permalink
repl: remove unused function
Browse files Browse the repository at this point in the history
replStart() was defined but never used. The function has been removed.
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Chris Dickinson <[email protected]>
  • Loading branch information
Trott authored and Myles Borins committed Jan 19, 2016
1 parent 751fbd8 commit 53dcbb6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/internal/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ module.exports.createInternalRepl = createRepl;
// The debounce is to guard against code pasted into the REPL.
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) {
if (typeof opts === 'function') {
cb = opts;
Expand Down

0 comments on commit 53dcbb6

Please sign in to comment.