Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Sep 21, 2020
2 parents 7b5f1fc + bd7a8c8 commit e3b108d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion server/src/TestRunner.ts
Expand Up @@ -78,7 +78,15 @@ export class TestRunner {

if (deps.length > 0) {
params.push('--filter');
params.push(`/^.*::${deps.join('|')}.*$/`);
let filter = `/^.*::${deps.join('|')}.*$/`;
if (options && options.shell) {
if (process.platform === 'win32') {
filter = `"${filter}"`;
} else {
filter = `'${filter}'`;
}
}
params.push(filter);
}

if (p.file) {
Expand Down

0 comments on commit e3b108d

Please sign in to comment.