mirror of https://github.com/helm/helm
From copilot review: > The condition i > 0 will fail to split chart names that start with a hyphen followed by a version (e.g., "-chart-1.0.0" would return "-chart-1.0.0", "" instead of "-chart", "1.0.0"). This should be i >= 0 to handle edge cases correctly. https://github.com/helm/helm/pull/31206#discussion_r2311950405 Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>pull/31206/head
parent
e9cfefbf44
commit
311659c085
Loading…
Reference in new issue