From 838f6666a8a90c5b08b26ec9d75835895e0ff491 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Fri, 21 Oct 2022 14:42:06 +0200 Subject: [PATCH] Normalize key in issues --- src/runner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner.ts b/src/runner.ts index b9adfa68d..78c48b09b 100644 --- a/src/runner.ts +++ b/src/runner.ts @@ -62,7 +62,7 @@ export async function findIssues(configuration: Configuration) { const addSymbolIssue = (issueType: SymbolIssueType, issue: Issue) => { const { filePath, symbol } = issue; - const key = path.relative(workingDir, filePath); + const key = path.relative(workingDir, filePath).replace(/\\/g, '/'); issues[issueType][key] = issues[issueType][key] ?? {}; issues[issueType][key][symbol] = issue; counters[issueType]++;