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:
authorKat Marchán <kzm@sykosomatic.org>2017-05-17 05:06:50 +0300
committerRebecca Turner <me@re-becca.org>2017-05-26 04:55:23 +0300
commit2690121f173984448f9a574ccb51ec70b01ca145 (patch)
tree9d2a35d570f5709a79f34a4cbe0b20ea9abcf62b /lib
parent317ae92913781539d9feeb84a9ac487d355cb60c (diff)
shrinkwrap: save even with warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/shrinkwrap.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/shrinkwrap.js b/lib/shrinkwrap.js
index 82023c6ab..1066f3d4c 100644
--- a/lib/shrinkwrap.js
+++ b/lib/shrinkwrap.js
@@ -163,12 +163,6 @@ function shrinkwrapDeps (problems, deps, top, tree, seen) {
}
function shrinkwrap_ (dir, pkginfo, opts, cb) {
- if (pkginfo.problems) {
- return cb(new Error('Problems were encountered\n' +
- 'Please correct and try again.\n' +
- pkginfo.problems.join('\n')))
- }
-
save(dir, pkginfo, opts, cb)
}