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 064e11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Pkgcraft/Version.pm
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ package Pkgcraft::Version {

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

sub revision {
Expand Down

0 comments on commit 064e11f

Please sign in to comment.