Skip to content

Commit

Permalink
fix(add): Snapshot opts passed to pacote.manifest()
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Dec 19, 2018
1 parent d4ab6c4 commit d0f0dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/add/index.js
Expand Up @@ -178,7 +178,7 @@ class AddCommand extends Command {
registry: this.options.registry,
});

return getManifest(this.spec, opts).then(pkg => pkg.version);
return getManifest(this.spec, opts.snapshot).then(pkg => pkg.version);
}

packageSatisfied() {
Expand Down

0 comments on commit d0f0dbc

Please sign in to comment.