Skip to content

Commit 4e1e091

Browse files
authored
ci: escape angle brackets in output
1 parent aab5f43 commit 4e1e091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/prioritize-unused-includes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
}
8080
8181
return [
82-
`${filename} --> ${include}`,
82+
`${filename} --> ${include.replace(/</g, '&lt;').replace(/>/g, '&gt;')}`,
8383
addedSize,
8484
parseFloat(prevalenceData[idx].trim().split(',')[4]),
8585
parseInt(expandedSizeData[idx].trim().split(',')[4]),

0 commit comments

Comments
 (0)