Skip to content

Commit

Permalink
module: Remove deprecated function requireRepl.
Browse files Browse the repository at this point in the history
Refs: #4642
PR-URL: #8575
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
AdriVanHoudt authored and jasnell committed Oct 7, 2016
1 parent 75a970b commit 4d6297f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
const NativeModule = require('native_module');
const util = require('util');
const internalModule = require('internal/module');
const internalUtil = require('internal/util');
const vm = require('vm');
const assert = require('assert').ok;
const fs = require('fs');
Expand Down Expand Up @@ -640,11 +639,6 @@ Module._initPaths = function() {
Module.globalPaths = modulePaths.slice(0);
};

// TODO(bnoordhuis) Unused, remove in the future.
Module.requireRepl = internalUtil.deprecate(function() {
return NativeModule.require('internal/repl');
}, 'Module.requireRepl is deprecated.');

Module._preloadModules = function(requests) {
if (!Array.isArray(requests))
return;
Expand Down

0 comments on commit 4d6297f

Please sign in to comment.