Skip to content

Commit c0d2d7f

Browse files
committed
using tmp support regex
Signed-off-by: cuisongliu <[email protected]>
1 parent 5bacbdc commit c0d2d7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dockerhub/default.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ func Do() {
6161
// Capture the range variables.
6262
k, v := k, v
6363
g.Go(func() error {
64+
if len(v.Repos) == 0 {
65+
return nil
66+
}
6467
if err = generatorSyncFile(syncDir, k, v); err != nil {
6568
return fmt.Errorf("generatorSyncFile %s error: %w", k, err)
6669
}

0 commit comments

Comments
 (0)