-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #11648 - peterallin:peterallin/11594, r=epage
Avoid saving the same future_incompat warning multiple times ### What does this PR try to resolve? Each time a build, that causes future_incompat warnings, is run, a report about each warning is created and saved to disk with a new id quicky filling up the JSON file. This PR adds a check if the report is already on disk and avoids saving a new instance of it. Fixes #11594. ### How should we test and review this PR? Perform a build that gives one or more future_incompat warnings, and see that they are added to the JSON file only once when the build is repeated.
- Loading branch information
Showing
1 changed file
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters