aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-19 01:37:02 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-19 01:37:02 +0200
commit70b6889a8814c2f095168b60911f3099779b9d2c (patch)
tree8c43ad4cd9795f0dbcc67caafb8c5c20403a3c2f
parent936aec757ead25829b8f034def66dbf4adb7707b (diff)
downloadrefcat-70b6889a8814c2f095168b60911f3099779b9d2c.tar.gz
refcat-70b6889a8814c2f095168b60911f3099779b9d2c.zip
skate: skip broken data
-rw-r--r--skate/zippy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/zippy.go b/skate/zippy.go
index db64ad1..2e9ead0 100644
--- a/skate/zippy.go
+++ b/skate/zippy.go
@@ -41,7 +41,7 @@ func ZippyExact(releases, refs io.Reader, matchResult MatchResult, w io.Writer)
}
if target, err = stringToRelease(cut(g.G0[0], "\t", 2)); err != nil {
groupLogf(g, "[skip] failed to parse release: %v", err)
- continue
+ return nil
}
for _, line := range g.G1 {
if ref, err = stringToRef(cut(line, "\t", 2)); err != nil {