We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 486f457 commit 74e946eCopy full SHA for 74e946e
1 file changed
src/extension.ts
@@ -96,12 +96,9 @@ export async function activate(context: vscode.ExtensionContext) {
96
// If argument field contains command to run script we do so here
97
if (args.includes('@(')) {
98
const scriptCommand = args.split("@(")[1].split(")")[0];
99
- console.log('script command ', scriptCommand);
100
const scriptOutput = await runCommand(scriptCommand);
101
// We expect that the script output that is to be used as arguments will be wrapped with ${}
102
- console.log('output', scriptOutput);
103
const scriptOutputTrimmed = scriptOutput.split("@(")[1].split(")")[0];
104
- console.log('output trimmed', scriptOutputTrimmed);
105
processedArgs = args.split("@(")[0] + scriptOutputTrimmed + args.split(")")?.[1];
106
} else {
107
processedArgs = args;
0 commit comments