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/test
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-12-14 06:44:33 +0400
committerisaacs <i@izs.me>2011-12-14 06:44:33 +0400
commitb50278ae796a85e9117433b1ef65295612520021 (patch)
tree67babf534027359783e3523e233dc512205ba61c /test
parent06e6195788f73da6a76bf9f09d405cf0bea45756 (diff)
Need to use --force to unpulbish entire project now
Diffstat (limited to 'test')
-rwxr-xr-xtest/run4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run b/test/run
index 2443726db..09e6e4aee 100755
--- a/test/run
+++ b/test/run
@@ -41,13 +41,13 @@ main () {
(ls packages | grep -v 'npm-test-private' | while read pkg; do
npm publish packages/$pkg || exit 1
npm install $pkg || exit 1
- npm unpublish $pkg || exit 1
+ npm unpublish $pkg --force || exit 1
done) || exit 1
# verify that the private package can't be published
# bypass the test-harness npm function.
"$NPMCLI" publish packages/npm-test-private && (
- npm unpublish npm-test-private
+ npm unpublish npm-test-private --force
exit 1000
)
if [ $? -eq 1000 ]; then