From b5c418617c3c116fbb2b703ab6449e979f8ff560 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Tue, 8 Jun 2021 22:36:54 +0200 Subject: skip items w/o work id --- skate/zippy.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'skate') diff --git a/skate/zippy.go b/skate/zippy.go index 793fe4a..37fca4b 100644 --- a/skate/zippy.go +++ b/skate/zippy.go @@ -101,6 +101,9 @@ func ZippyExactReleases(olReader, reReader io.Reader, matchResult MatchResult, w groupLogf(g, "[skip] failed to parse release: %v", err) continue } + if target.WorkID == "" { + continue + } var bref BiblioRef bref.SourceReleaseIdent = re.Ident bref.SourceWorkIdent = re.WorkID -- cgit v1.2.3