Permalink
Browse files

FIXME note for #542

  • Loading branch information...
1 parent e94a12b commit 1cd691f60bdd8bfd60b7c10426a6756eb6a2d480 @isaacs isaacs committed Feb 12, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/rebuild.js
View
@@ -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) {

0 comments on commit 1cd691f

Please sign in to comment.