diff --git a/src/cli/commands/tag.js b/src/cli/commands/tag.js index f97442acbb..e8fb5515fc 100644 --- a/src/cli/commands/tag.js +++ b/src/cli/commands/tag.js @@ -31,10 +31,7 @@ export async function getName(args: Array, config: Config): Promise): Promise { const name = await getName(args, config); - reporter.step(1, 3, reporter.lang('loggingIn')); - const revoke = await getToken(config, reporter, name); - - reporter.step(2, 3, reporter.lang('gettingTags')); + reporter.step(1, 1, reporter.lang('gettingTags')); const tags = await config.registries.npm.request(`-/package/${name}/dist-tags`); if (tags) { @@ -44,9 +41,6 @@ async function list(config: Config, reporter: Reporter, flags: Object, args: Arr } } - reporter.step(3, 3, reporter.lang('revokingToken')); - await revoke(); - if (!tags) { throw new MessageError(reporter.lang('packageNotFoundRegistry', name, 'npm')); }