Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FIXME note for #542

  • Loading branch information...
commit 1cd691f60bdd8bfd60b7c10426a6756eb6a2d480 1 parent e94a12b
@isaacs isaacs authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/rebuild.js
View
7 lib/rebuild.js
@@ -43,6 +43,11 @@ function rebuild (args, cb) {
}, {})
log.silly(folders,"rebuild folders")
log.silly(actives, "rebuild actives")
+
+ //FIXME GH-542 - remove the folder and re-unpack into it.
+ // that probably means getting the tarball with
+ // cache.add() again.
+ // Look at how it's done in lib/install.js
asyncMap(folders, function (arg, cb) {
log.verbose(arg, "rebuild")
var n = arg[0]
@@ -66,6 +71,8 @@ function rebuild (args, cb) {
})
})
}
+
+
// TODO: abstract this out for uninstall, etc to use.
function lookupArgs (args, cb) {
if (!args.length) return readInstalled([], function (er, inst) {
Please sign in to comment.
Something went wrong with that request. Please try again.