From 3bdd800375c5dc0cafa11b689867f04f242a22e6 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 9 Jul 2021 21:55:51 +0200 Subject: wiki: cleanup redundant check --- skate/cmd/skate-wikipedia-doi/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skate/cmd') 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) -- cgit v1.2.3