Update comment

This commit is contained in:
Koen Vlaswinkel 2024-05-02 14:01:44 +02:00
parent 725ed4139d
commit 3a471a06fa
3 changed files with 5 additions and 3 deletions

View file

@ -140,7 +140,8 @@ export async function shouldShowCombineSarifFilesDeprecationWarning(
return false;
}
// Only give a deprecation warning when not all runs are unique
// Only give a deprecation warning when not all runs are unique and
// we haven't already shown the warning.
return (
!areAllRunsUnique(sarifObjects) &&
!process.env.CODEQL_MERGE_SARIF_DEPRECATION_WARNING