File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
3
# Unreleased
4
+ - Fixed an issue where the ** Run And Debug** command failed to execute properly when running commands with arguments in XSOAR.
4
5
5
6
# [ 0.7.4] (2024-11-26)
6
7
Original file line number Diff line number Diff line change @@ -89,14 +89,14 @@ function argumentSorted(_list: vscode.QuickPickItem[]): vscode.QuickPickItem[] {
89
89
}
90
90
91
91
function runCommand ( query : Map < string , string > ) {
92
- let cmd = `" ${ query . get ( 'cmd' ) } `
92
+ let cmd = `${ query . get ( 'cmd' ) } `
93
93
if ( typeof cmd === 'string' ) {
94
94
query . delete ( 'cmd' )
95
95
const queryTest = Array . from ( query . entries ( ) )
96
96
queryTest . map ( ( arg : [ string , string ] ) => {
97
97
cmd += ` ${ arg [ 0 ] } =${ arg [ 1 ] } `
98
98
} )
99
- const q : string [ ] = [ 'run' , '-q' , cmd + `"` ]
99
+ const q : string [ ] = [ 'run' , '-q' , cmd ]
100
100
TerminalManager . sendDemistoSDKCommand ( q ) ;
101
101
}
102
102
}
You can’t perform that action at this time.
0 commit comments