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 2973b92
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 @@ -61,9 +61,9 @@ package Pkgcraft::Version {
}

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

sub revision {
Expand Down

0 comments on commit 2973b92

Please sign in to comment.