Skip to content

Commit

Permalink
Add warning about adjacent-mocks configs
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Apr 11, 2023
1 parent b55a8bb commit 3c781b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/features.md
Expand Up @@ -189,6 +189,11 @@ Using different configuration parameters, we can deploy our mocks on-disk in var
}
```
=== "adjacent to interface"

!!! warning

Mockery does not protect against modifying original source code. Do not generate mocks using this config with uncommitted code changes.


```yaml
filename: "mock_{{.InterfaceName}}.go"
Expand Down

0 comments on commit 3c781b9

Please sign in to comment.