Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
fix(manifest): get rid of resolved-with-non-error warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Apr 7, 2017
1 parent 321f84b commit d4d4917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/finalize-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function finalizeManifest (pkg, spec, opts) {
return ((opts.cache && key && !opts.preferOnline) ? cache.get.info(opts.cache, key, opts).then(res => {
if (!res) { throw new Error('cache miss') }
return new Manifest(res.metadata)
}) : BB.reject()).catch(() => {
}) : BB.reject(new Error('nope'))).catch(() => {
return BB.fromNode(cb => {
tarballedProps(pkg, spec, opts, function (err, props) {
if (err) { return cb(err) }
Expand Down

0 comments on commit d4d4917

Please sign in to comment.