Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Dec 15, 2023
1 parent b0d32e2 commit 7987c58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Pkgcraft/Version.pm
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ package Pkgcraft::Version {

sub parse {
my $str = shift // die "missing version string";
my $ptr = C::pkgcraft_version_parse($str);
return defined($ptr);
return ($str eq C::pkgcraft_version_parse($str));
}

sub revision {
Expand Down

0 comments on commit 7987c58

Please sign in to comment.