Skip to content

Commit 8c8dae9

Browse files
committed
update
1 parent cfc6d2f commit 8c8dae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ async function checkAndInstallBinaries(forceInstall?: boolean): Promise<boolean>
396396
localVersion = cont;
397397
const mainLocalVersion = parseInt(localVersion.split('.')[0]);
398398
const mainMinReqVersion = parseInt(minReqVersion.split('.')[0]);
399-
if (mainMinReqVersion > mainLocalVersion) { // local Main verson < min Main version
399+
if (mainMinReqVersion != mainLocalVersion) { // local Main verson != min Main version
400400
localVersion = undefined; // local binaries is invalid, force update
401401
}
402402
}

0 commit comments

Comments
 (0)