Skip to content

Commit

Permalink
fix: add categories to tags in sarif converter
Browse files Browse the repository at this point in the history
  • Loading branch information
j-sp4 committed Nov 5, 2020
1 parent cd754af commit 6f72065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sarif_converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const getTools = (analysisResults: IAnalysisResult, suggestions: ISarifSuggestio
text: suggestion.message,
},
properties: {
tags: [suggestionId.split('%2F')[0], ...suggestion.tags],
tags: [suggestionId.split('%2F')[0], ...suggestion.tags, ...suggestion.categories],
precision: 'very-high',
},
};
Expand Down

0 comments on commit 6f72065

Please sign in to comment.