-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow suppress diff line output by regex (#475)
* Suppress diff output by regex Signed-off-by: Jan-Otto Kröpke <[email protected]> * Added unit tests Signed-off-by: Jan-Otto Kröpke <[email protected]> * Keep changed filename in output Signed-off-by: Jan-Otto Kröpke <[email protected]> * Update diff/diff.go Co-authored-by: Yusuke Kuoka <[email protected]> * extract method Signed-off-by: Jan-Otto Kröpke <[email protected]> * hide filteredReport Signed-off-by: Jan-Otto Kröpke <[email protected]> * skip doSuppress, if report is empty Signed-off-by: Jan-Otto Kröpke <[email protected]> * Add unit tests for DoSuppress --------- Signed-off-by: Jan-Otto Kröpke <[email protected]> Co-authored-by: Yusuke Kuoka <[email protected]>
- Loading branch information
Showing
3 changed files
with
224 additions
and
20 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
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
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