diff options
Diffstat (limited to 'deps/npm/lib/unbuild.js')
-rw-r--r-- | deps/npm/lib/unbuild.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/npm/lib/unbuild.js b/deps/npm/lib/unbuild.js index ec34d5688..57688f069 100644 --- a/deps/npm/lib/unbuild.js +++ b/deps/npm/lib/unbuild.js @@ -20,7 +20,10 @@ function unbuild (args, silent, cb) { asyncMap(args, unbuild_(silent), cb) } -function unbuild_ (silent) { return function (folder, cb) { +function unbuild_ (silent) { return function (folder, cb_) { + function cb (er) { + cb_(er, path.relative(npm.root, folder)) + } folder = path.resolve(folder) delete build._didBuild[folder] log.info(folder, "unbuild") |