new-from-rev: add support for finding issues in entire files in a diff (#2264)

This commit is contained in:
Nate Finch 2021-09-30 12:43:31 -04:00 committed by GitHub
parent cf9f3f95a9
commit 9b577fcb80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 5 deletions

View file

@ -115,6 +115,7 @@ type Issues struct {
DiffFromRevision string `mapstructure:"new-from-rev"`
DiffPatchFilePath string `mapstructure:"new-from-patch"`
WholeFiles bool `mapstructure:"whole-files"`
Diff bool `mapstructure:"new"`
NeedFix bool `mapstructure:"fix"`