forked from vektra/mockery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include auto-generated files in recursive discovery by default
Fixes vektra#681 There are many legitimate use-cases where mockery needs to include auto-generated files in its recursive package discovery. We add an `include-auto-generated` parameter that is set to `true` by default, but can be set to `false` if users want to retain the old behavior. We are considering the old behavior to be a bug due to the large number of GitHub issues we'll likely get. The original motivation for adding this behavior was fixed through a different mechanism, which is why we're considering this to be a bugfix.
- Loading branch information
1 parent
532f248
commit 3b725d9
Showing
2 changed files
with
90 additions
and
25 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