mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix issues when using newer @types/semver (#6132)
- All the removed uses of `includePrerelease` that are removed were not actually used within the semver package Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
642300c71f
commit
7767216167
5 files changed
+4
-5
No files matched your search
@@ -81,7 +81,7 @@ export function sortCharts(charts: RawHelmChart[]) {
|
||||
iter.map(
|
||||
charts,
|
||||
chart => {
|
||||
const __version = coerce(chart.version, { includePrerelease: true, loose: true });
|
||||
const __version = coerce(chart.version, { loose: true });
|
||||
|
||||
if (!__version) {
|
||||
logger.warn(`[HELM-SERVICE]: Version from helm chart is not loosely coercable to semver.`, { name: chart.name, version: chart.version, repo: chart.repo });
|
||||
|
||||
Reference in new issue
Block a user