Skip to content

Commit b7b000a

Browse files
mbghenrymercer
andauthored
Update src/actions-util.ts
Co-authored-by: Henry Mercer <[email protected]>
1 parent 7277034 commit b7b000a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/actions-util.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,10 @@ export function isAnalyzingPullRequest(): boolean {
411411
return getPullRequestBranches() !== undefined;
412412
}
413413

414-
// A mapping from old categories to new ones.
414+
/**
415+
* A workaround for code quality to map category names from old default setup workflows
416+
* to ones that the code quality service expects.
417+
*/
415418
const qualityCategoryMapping: Record<string, string> = {
416419
"c#": "csharp",
417420
cpp: "c-cpp",

0 commit comments

Comments
 (0)