This commit is contained in:
TingluoHuang
2021-10-14 16:57:24 -04:00
parent 1235dc1cea
commit dfcfae49e5
2 changed files with 2 additions and 6 deletions

View File

@@ -133,10 +133,7 @@ async function run(): Promise<void> {
execArgs.push(execInput.jobContainer.containerId)
execArgs.push(execInput.fileName)
core.debug(JSON.stringify(execInput.arguments))
const args = JSON.stringify(execInput.arguments)
.replace('"', '')
.split(' ')
const args = (<string>execInput.arguments).split(' ')
core.debug(JSON.stringify(args))
execArgs.push(...args)

View File

@@ -1153,8 +1153,7 @@ function run() {
}
execArgs.push(execInput.jobContainer.containerId);
execArgs.push(execInput.fileName);
core.debug(JSON.stringify(execInput.arguments));
const args = JSON.stringify(execInput.arguments).replace('"', "").split(' ');
const args = execInput.arguments.split(' ');
core.debug(JSON.stringify(args));
execArgs.push(...args);
core.debug(JSON.stringify(execArgs));