1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix for dev builds

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-10-13 14:08:53 -04:00
parent 674e33c885
commit 9b68a88ff9

View File

@ -272,7 +272,7 @@ const updateChannels = new Map([
label: "Alpha" label: "Alpha"
}], }],
]); ]);
const defaultUpdateChannel = new SemVer(getAppVersion()).prerelease[0].toString(); const defaultUpdateChannel = new SemVer(getAppVersion()).prerelease[0]?.toString() || "latest";
const updateChannel: PreferenceDescription<string> = { const updateChannel: PreferenceDescription<string> = {
fromStore(val) { fromStore(val) {