Skip to content
Snippets Groups Projects
Commit 05cd1de1 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

cpan: Fix module version extraction for some edge cases

CPAN API can return versions that are not of str type: either
int or float.

When version equals 0, it means that version failed to be parsed
by CPAN so we try to extract it from release name in that case.

Otherwise we ensure to convert the version to str type.

Related to T2833
parent f57b8f3a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment