Permalink
Browse files

Closes GH-47. Remove npm repl. Never really worked

  • Loading branch information...
1 parent c484c0e commit 363117ef97432c33443d3b04a5fedcd309fe0abc @isaacs isaacs committed Feb 26, 2011
Showing with 0 additions and 20 deletions.
  1. +0 −19 lib/repl.js
  2. +0 −1 npm.js
View
@@ -1,19 +0,0 @@
-
-module.exports = repl
-
-function repl (args, cb) {
- var repl = require("repl")
- , npm = require("../npm")
- , ctx = repl.start("npm> ").context
- , log = require("./utils/log")
- process.env.NODE_NO_READLINE = 1
- // log(npm.commands)
- for (var i in npm.commands) {
- // log(i, "repl")
- ctx[i] = function () {
- npm.commands[i]( Array.prototype.slice.call(arguments)
- , function (er) { log(er, i) }
- )
- }
- }
-}
View
1 npm.js
@@ -81,7 +81,6 @@ var commandCache = {}
, "update"
, "update-dependents"
, "view"
- , "repl"
, "rebuild"
, "bundle"
, "outdated"

0 comments on commit 363117e

Please sign in to comment.