Skip to content

Commit

Permalink
Update update.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pegvin committed Mar 13, 2022
1 parent db325f6 commit 020b805
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/commands/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ func (cmd *UpdateCmd) Run() (err error) {
}

for _, target := range cmd.Targets {
if len(strings.Split(target, "/")) < 2 {
target = target + "/" + target
}
entry, err := cmd.getRegistryEntry(target)
if err != nil {
continue
Expand Down

0 comments on commit 020b805

Please sign in to comment.