1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src
Marc Bachmann b9450fe1bd
Fix chart upgrade screen by coercing the chart version to semver
Without that fix, I'm seeing such an errors when upgrading a chart:
```
semver.js:41 Uncaught (in promise) TypeError: Invalid Version: 1.9-dev
    at new A (semver.js:41)
    at Object.e.exports [as compare] (compare.js:3)
    at helm-chart.store.ts:37
    at Array.sort (<anonymous>)
    at QR.sortVersions (helm-chart.store.ts:36)
    at async QR.getVersions (helm-chart.store.ts:64)
    at async XD.loadVersions (upgrade-chart.tsx:57)
```

Signed-off-by: Marc Bachmann <marc.brookman@gmail.com>
2021-04-21 15:02:46 +02:00
..
common Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
extensions Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
main Add support for viewing 'User-supplied values' of helm release (#1862) 2021-04-20 11:47:38 -04:00
migrations Catalog & Hotbar - initial groundwork (#2418) 2021-04-09 09:11:58 +03:00
renderer Fix chart upgrade screen by coercing the chart version to semver 2021-04-21 15:02:46 +02:00
jest.setup.ts Fix unit tests and make tests fail if a promise rejects after the test harness is finishes (#2034) 2021-03-30 10:14:05 -04:00