Skip to content

Commit

Permalink
#34 skip doi
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 4, 2023
1 parent cd6f121 commit cd4efd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bibcop.pl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ sub check_mandatory_tags {
}
if (not(exists $entry{$tag})) {
my $listed = listed_tags(%entry);
if ($tag eq 'doi' and exists $args{'--no:doi'}) {
next;
}
return "A mandatory '$tag' tag for '\@$type' is missing among $listed"
}
}
Expand Down

0 comments on commit cd4efd8

Please sign in to comment.