File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ Project token example
3232 "project-token": "#########",
3333 }
3434
35+ Skip SSL Verification
36+ "codacy-cli": {
37+ "ssl-verification": "true",
38+ }
39+
3540### Tool
3641Codacy cli can use all tool availables for the repository or you can specify one using the key "tool"
3742
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ export function activate(context: vscode.ExtensionContext) {
3737 additionalParameters . push ( `--tool ${ configuration . get ( 'tool' ) } ` ) ;
3838 }
3939
40+ if ( configuration . has ( 'ssl-verification' ) && configuration . get ( 'ssl-verification' ) === 'true' ) {
41+ additionalParameters . push ( '--skip-ssl-verification' ) ;
42+ }
43+
4044 for ( let i = 0 ; i < vscode . workspace . workspaceFolders . length ; i ++ ) {
4145 let workspaceFolder = vscode . workspace . workspaceFolders [ i ] . uri . path ;
4246 env . env [ 'CODACY_CODE' ] = workspaceFolder ;
You can’t perform that action at this time.
0 commit comments