Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-05-10 11:55:41 +0400
committerisaacs <i@izs.me>2010-05-10 11:55:41 +0400
commitb9c096fa99f1bf13a6791e05cffb03d71a6924a4 (patch)
treed58cf7b428fa06be578ca2b6a98f3aa1b50dddf1 /lib
parentf5e7e9c8c82e3301317d4b3af379dd7d7545e7a0 (diff)
Make tar less verbose
While it's impressive to see a big list of files fly by, it's not very helpful for debugging, and is just noise.
Diffstat (limited to 'lib')
-rw-r--r--lib/cache.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache.js b/lib/cache.js
index f258033be..b661c2797 100644
--- a/lib/cache.js
+++ b/lib/cache.js
@@ -207,7 +207,7 @@ function unpack (pkg, ver, unpackTarget, cb) {
function unpackTar (tarball, unpackTarget, cb) {
mkdir(unpackTarget, function (er) {
if (er) return log.er(cb, "Could not create "+unpackTarget)(er)
- exec("tar", ["xzvf", tarball, "--strip", "1", "-C", unpackTarget], cb)
+ exec("tar", ["xzf", tarball, "--strip", "1", "-C", unpackTarget], cb)
})
}
function packTar (targetTarball, folder, cb) {
@@ -218,7 +218,7 @@ function packTar (targetTarball, folder, cb) {
if (er) return log.er(cb, "Could not create "+targetTarball)(er)
process.chdir(parent)
exec("tar"
- , [ "czvf"
+ , [ "czf"
, targetTarball
, "--exclude", ".git"
, addFolder