Skip to content

Commit 3d46b7b

Browse files
committed
fix(beta): startup fails, "beta build must set version=99.0.0"
Problem: startup fails: 2024-11-15 16:27:10.966 [error] Activating extension amazonwebservices.amazon-q-vscode failed due to an error: 2024-11-15 16:27:10.967 [error] Error: beta build must set version=99.0.0 in package.json Solution: Fix the version comparision.
1 parent f27a635 commit 3d46b7b

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/shared/vscode

1 file changed

+1
-1
lines changed

packages/core/src/shared/vscode/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function isBeta(): boolean {
4747
const testing = extensionVersion === testVersion
4848
for (const url of Object.values(devConfig.betaUrl)) {
4949
if (url && url.length > 0) {
50-
if (!testing && semver.lt(extensionVersion, '99.0.0')) {
50+
if (!testing && semver.lt(extensionVersion, '99.0.0-dev')) {
5151
throw Error('beta build must set version=99.0.0 in package.json')
5252
}
5353

0 commit comments

Comments
 (0)