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 77 "files" : [
88 " dist/main/**/*" ,
99 " README.md" ,
10- " dist/ checkmarx-ast-cli.version"
10+ " checkmarx-ast-cli.version"
1111 ],
1212 "dependencies" : {
1313 "async-mutex" : " ^0.5.0" ,
1919 },
2020 "scripts" : {
2121 "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/;" ,
2323 "lint" : " eslint . --ext .ts" ,
2424 "lint-and-fix" : " eslint . --ext .ts --fix" ,
2525 "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 {
111111 return this . cliVersion ;
112112 }
113113 try {
114- const versionFilePath = path . join ( process . cwd ( ) , 'checkmarx-ast-cli.version' ) ;
114+ const versionFilePath = path . join ( 'checkmarx-ast-cli.version' ) ;
115115 const versionContent = await fsPromises . readFile ( versionFilePath , 'utf-8' ) ;
116116 return versionContent . trim ( ) ;
117117 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments