Skip to content

Commit

Permalink
Merge pull request #90 from delphinus/hotfix/bug
Browse files Browse the repository at this point in the history
fix: detect versions validly
  • Loading branch information
delphinus authored May 11, 2023
2 parents 1295557 + a0dc958 commit ef729fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/convert_codepoints/convert_codepoints
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ GetOptions(
);

sub is_valid_version($v) {
defined $v && $v =~ /\A(?:nerd_fonts_[23]|v[123])\z/;
defined $v && $v =~ /\A(?:nerd_fonts_v[23]|v[123])\z/;
}

pod2usage(-exitval => 0, -verbose => 2) if $opt{help};
Expand Down

0 comments on commit ef729fd

Please sign in to comment.