fix(cli): drop duplicated version in publish output (Coords already includes it)
This commit is contained in:
parent
57a217f54d
commit
aafdc44f6f
@ -271,7 +271,7 @@ func newPluginPublishCmd() *cobra.Command {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("publish: %w", err)
|
return fmt.Errorf("publish: %w", err)
|
||||||
}
|
}
|
||||||
fmt.Printf("Published %s@%s (%d bytes)\n", mod.Coords(), pubResp.Msg.Version.Version, len(archiveBytes))
|
fmt.Printf("Published %s (%d bytes)\n", mod.Coords(), len(archiveBytes))
|
||||||
for _, w := range pubResp.Msg.Warnings {
|
for _, w := range pubResp.Msg.Warnings {
|
||||||
fmt.Printf(" warning: %s\n", w)
|
fmt.Printf(" warning: %s\n", w)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user