We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1324f8e commit 6ef3951Copy full SHA for 6ef3951
1 file changed
src/main/osinstaller/CxInstaller.ts
@@ -98,7 +98,11 @@ export class CxInstaller {
98
fs.chmodSync(this.getExecutablePath(), 0o755);
99
logger.info('Extracted CLI to:', this.resourceDirPath);
100
} catch (error) {
101
+ if (await this.checkLatestExecutableVersionIsInstalled()) {
102
+ return;
103
+ }
104
logger.error('Error during installation:', error);
105
+ process.exit(1);
106
}
107
108
0 commit comments