aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-09 21:55:51 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-09 21:55:51 +0200
commit3bdd800375c5dc0cafa11b689867f04f242a22e6 (patch)
tree4cee71639a057230ef98709ed7fe2b61e7448c0b /skate/cmd
parentdd39ba1bd24f64b8bc65c075d9f1f095304a4d29 (diff)
downloadrefcat-3bdd800375c5dc0cafa11b689867f04f242a22e6.tar.gz
refcat-3bdd800375c5dc0cafa11b689867f04f242a22e6.zip
wiki: cleanup redundant check
Diffstat (limited to 'skate/cmd')
-rw-r--r--skate/cmd/skate-wikipedia-doi/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/cmd/skate-wikipedia-doi/main.go b/skate/cmd/skate-wikipedia-doi/main.go
index 829352b..a6d82c0 100644
--- a/skate/cmd/skate-wikipedia-doi/main.go
+++ b/skate/cmd/skate-wikipedia-doi/main.go
@@ -31,7 +31,7 @@ func main() {
return nil, err
}
ids := w.ParseIDList()
- if ids.DOI == "" || !skate.PatDOI.MatchString(ids.DOI) {
+ if ids.DOI == "" {
return nil, nil
}
match := patDOI.FindStringSubmatch(ids.DOI)