toPosixPath is no longer needed now that were matching on file paths directly

This commit is contained in:
Simon Knott 2024-07-23 12:44:19 +02:00
parent 55bace0704
commit 6e2f581a3c

View file

@ -15,7 +15,6 @@
*/
import childProcess from 'child_process';
import { toPosixPath } from 'playwright-core/lib/utils';
import { affectedTestFiles } from '../transform/compilationCache';
import path from 'path';
@ -48,5 +47,5 @@ export async function detectChangedFiles(baseCommit: string): Promise<Set<string
return new Set([
...filesWithChanges,
...affectedFiles,
].map(toPosixPath));
]);
}