aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-06-08 22:36:54 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-06-08 22:36:54 +0200
commitb5c418617c3c116fbb2b703ab6449e979f8ff560 (patch)
tree586315410db87e6f179a60bd9e827a09ef898191 /skate
parent05a28c878cf53dc909e00065451c5ef432f77c0a (diff)
downloadrefcat-b5c418617c3c116fbb2b703ab6449e979f8ff560.tar.gz
refcat-b5c418617c3c116fbb2b703ab6449e979f8ff560.zip
skip items w/o work id
Diffstat (limited to 'skate')
-rw-r--r--skate/zippy.go3
1 files changed, 3 insertions, 0 deletions
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