diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-08 22:36:54 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-08 22:36:54 +0200 |
commit | b5c418617c3c116fbb2b703ab6449e979f8ff560 (patch) | |
tree | 586315410db87e6f179a60bd9e827a09ef898191 /skate | |
parent | 05a28c878cf53dc909e00065451c5ef432f77c0a (diff) | |
download | refcat-b5c418617c3c116fbb2b703ab6449e979f8ff560.tar.gz refcat-b5c418617c3c116fbb2b703ab6449e979f8ff560.zip |
skip items w/o work id
Diffstat (limited to 'skate')
-rw-r--r-- | skate/zippy.go | 3 |
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 |