File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
"files" : [
8
8
" dist/main/**/*" ,
9
9
" README.md" ,
10
- " dist/ checkmarx-ast-cli.version"
10
+ " checkmarx-ast-cli.version"
11
11
],
12
12
"dependencies" : {
13
13
"async-mutex" : " ^0.5.0" ,
19
19
},
20
20
"scripts" : {
21
21
"build" : " tsc" ,
22
- "postbuild" : " copyfiles -u 1 src/main/wrapper/resources/cx* dist/;copyfiles -u 1 src/ tests/data/* dist/;copyfiles -u 0 checkmarx-ast-cli.version dist/ " ,
22
+ "postbuild" : " copyfiles -u 1 src/tests/data/* dist/;" ,
23
23
"lint" : " eslint . --ext .ts" ,
24
24
"lint-and-fix" : " eslint . --ext .ts --fix" ,
25
25
"test" : " copyfiles -u 1 src/tests/data/* dist/; tsc && jest --runInBand"
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export class CxInstaller {
111
111
return this . cliVersion ;
112
112
}
113
113
try {
114
- const versionFilePath = path . join ( process . cwd ( ) , 'checkmarx-ast-cli.version' ) ;
114
+ const versionFilePath = path . join ( 'checkmarx-ast-cli.version' ) ;
115
115
const versionContent = await fsPromises . readFile ( versionFilePath , 'utf-8' ) ;
116
116
return versionContent . trim ( ) ;
117
117
} catch ( error ) {
You can’t perform that action at this time.
0 commit comments