Skip to content

Commit cd98b70

Browse files
committed
Merge branch 'master' into releases/1.6.x
2 parents d8dcdc9 + 9f2d642 commit cd98b70

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/hubops/download.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ func downloadDataSet(ctx context.Context, dataFolder string, force bool, reader
114114
}
115115

116116
for _, dataS := range data.Data {
117+
if dataS.SourceURL == "" {
118+
continue
119+
}
120+
117121
// XXX: check context cancellation
118122
destPath, err := cwhub.SafePath(dataFolder, dataS.DestPath)
119123
if err != nil {

0 commit comments

Comments
 (0)