Skip to content

Commit 2875db4

Browse files
committed
check
1 parent fe062f6 commit 2875db4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/osinstaller/CxInstaller.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,7 @@ export class CxInstaller {
123123
}
124124

125125
private getVersionFilePath(): string {
126-
const processCwd = process.cwd();
127-
if (processCwd === '/') { // This is the root directory
128-
return 'checkmarx-ast-cli.version';
129-
}
130-
return path.join(processCwd, 'checkmarx-ast-cli.version');
126+
return path.join(process.cwd(), 'checkmarx-ast-cli.version');
131127
}
132128

133129
private getCompressFolderName(): string {

0 commit comments

Comments
 (0)