Skip to content

Commit f656b3b

Browse files
authored
Update mavenUtils.ts (#1085)
1 parent a271444 commit f656b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/mavenUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async function executeInBackground(mvnArgs: string, pomfile?: string): Promise<u
9292
};
9393
return new Promise<unknown>((resolve: (value: unknown) => void, reject: (e: Error) => void): void => {
9494
mavenOutputChannel.appendLine(`Spawn ${JSON.stringify({ command, args })}`);
95-
const proc: child_process.ChildProcess = child_process.spawn(command, args, spawnOptions); // CodeQL [SM03609] justification
95+
const proc: child_process.ChildProcess = child_process.spawn(command, args, spawnOptions); // CodeQL [SM03609] safe here as args is assembled in the code and cannot be arbitrary string.
9696
proc.on("error", (err: Error) => {
9797
reject(new Error(`Error occurred in background process. ${err.message}`));
9898
});

0 commit comments

Comments
 (0)