We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 062d9be commit f8220d9Copy full SHA for f8220d9
1 file changed
e2e/plugin-typescript-e2e/tests/collect.e2e.test.ts
@@ -31,7 +31,7 @@ function sanitizeReportPaths(report: Report): Report {
31
},
32
}),
33
message: issue.message.replace(
34
- /['"]([^'"]*\\[^'"]*)['"]/g,
+ /['"]([A-Z]:[/\\][^'"]*|[^'"]*[/\\][^'"]*[/\\][^'"]*)['"]/g,
35
(match, filePath) => {
36
try {
37
const lastSegment = filePath.split(/[/\\]/).pop() || '';
0 commit comments