diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-05-17 05:06:50 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-05-26 04:55:23 +0300 |
commit | 2690121f173984448f9a574ccb51ec70b01ca145 (patch) | |
tree | 9d2a35d570f5709a79f34a4cbe0b20ea9abcf62b /lib | |
parent | 317ae92913781539d9feeb84a9ac487d355cb60c (diff) |
shrinkwrap: save even with warnings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/shrinkwrap.js | 6 |
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) } |