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 <[email protected]>
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
AdriVanHoudt authored and jasnell committed Oct 10, 2016
1 parent 1fda657 commit d582193
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 d582193

Please sign in to comment.