Skip to content

Commit

Permalink
refactor(publish): Snapshot options passed to n-r-f/auth helper
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Dec 19, 2018
1 parent ca4dd95 commit db4522b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/publish/index.js
Expand Up @@ -106,7 +106,7 @@ class PublishCommand extends Command {

// all consumers need a token
const registry = this.conf.get("registry");
const auth = getAuth(registry, this.conf);
const auth = getAuth(registry, this.conf.snapshot);

if (auth.token) {
this.conf.set("token", auth.token, "cli");
Expand Down

0 comments on commit db4522b

Please sign in to comment.