diff options
Diffstat (limited to 'deps/npm/lib/pack.js')
-rw-r--r-- | deps/npm/lib/pack.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/npm/lib/pack.js b/deps/npm/lib/pack.js index 3475c4a3e..1e3bd0c56 100644 --- a/deps/npm/lib/pack.js +++ b/deps/npm/lib/pack.js @@ -11,7 +11,6 @@ var npm = require("./npm.js") , fs = require("graceful-fs") , chain = require("slide").chain , path = require("path") - , relativize = require("./utils/relativize.js") , cwd = process.cwd() pack.usage = "npm pack <pkg>" @@ -34,7 +33,7 @@ function pack (args, silent, cb) { function printFiles (files, cb) { files = files.map(function (file) { - return relativize(file, cwd) + return path.relative(cwd, file) }) output.write(files.join("\n"), cb) } |