mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Bundled extensions are always compatible in dev mode (#3459)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
b7a24f4520
commit
fe33296ba5
1 file changed
+2
-2
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
import semver from "semver";
|
||||
import { appSemVer } from "../common/vars";
|
||||
import { appSemVer, isProduction } from "../common/vars";
|
||||
import type { LensExtensionManifest } from "./lens-extension";
|
||||
|
||||
export function isCompatibleExtension(manifest: LensExtensionManifest): boolean {
|
||||
@@ -33,5 +33,5 @@ export function isCompatibleExtension(manifest: LensExtensionManifest): boolean
|
||||
}
|
||||
|
||||
export function isCompatibleBundledExtension(manifest: LensExtensionManifest): boolean {
|
||||
return manifest.version === appSemVer.raw;
|
||||
return !isProduction || manifest.version === appSemVer.raw;
|
||||
}
|
||||
Reference in new issue
Block a user