Skip to content

Commit

Permalink
Normalize key in issues
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Oct 21, 2022
1 parent e375f37 commit 838f666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]++;
Expand Down

0 comments on commit 838f666

Please sign in to comment.