Skip to content

Commit bda8ac3

Browse files
authored
Merge pull request microsoft#185345 from microsoft/tyriar/codeql_suppress
Suppress UI label-related codeql report
2 parents 5d4149b + bcd1928 commit bda8ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export class TerminalProfileQuickpick {
266266
}
267267
const argsString = profile.args.map(e => {
268268
if (e.includes(' ')) {
269-
return `"${e.replace(/"/g, '\\"')}"`;
269+
return `"${e.replace(/"/g, '\\"')}"`; // CodeQL [SM02383] js/incomplete-sanitization This is only used as a label on the UI so this isn't a problem
270270
}
271271
return e;
272272
}).join(' ');

0 commit comments

Comments
 (0)