Skip to content

Commit cd35766

Browse files
Apply suggestions from code review
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
1 parent c267dd4 commit cd35766

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
"scope": "window",
187187
"type": "string",
188188
"default": "",
189-
"description": "Additional command line arguments to pass to the CLI when running tests."
189+
"markdownDescription": "Additional command line arguments to pass to the CLI when [running tests](https://codeql.github.com/docs/codeql-cli/manual/test-run/)."
190190
},
191191
"codeQL.runningTests.numberOfThreads": {
192192
"scope": "window",

extensions/ql-vscode/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ export class CodeQLCliServer implements Disposable {
509509
testPaths: string[], workspaces: string[], options: TestRunOptions
510510
): AsyncGenerator<TestCompleted, void, unknown> {
511511

512-
const subcommandArgs = this.cliConfig.additionalTestArguments.toString().split(' ').concat([
512+
const subcommandArgs = this.cliConfig.additionalTestArguments.toString().split(/\s+/).concat([
513513
'--additional-packs', workspaces.join(path.delimiter),
514514
'--threads',
515515
this.cliConfig.numberTestThreads.toString(),

0 commit comments

Comments
 (0)