Skip to content

Commit 020b805

Browse files
committed
Update update.go
1 parent db325f6 commit 020b805

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/commands/update.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ func (cmd *UpdateCmd) Run() (err error) {
2929
}
3030

3131
for _, target := range cmd.Targets {
32+
if len(strings.Split(target, "/")) < 2 {
33+
target = target + "/" + target
34+
}
3235
entry, err := cmd.getRegistryEntry(target)
3336
if err != nil {
3437
continue

0 commit comments

Comments
 (0)