You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DO NOT submit tickets without first using the latest version of Golang, clearing your local golang package cache, and re-building mockery using the latest Golang version and the latest version of mockery. Please provide evidence this has been done in your issue. Failure to provide this evidence will likely result in your issue being closed.
Description
Running mockery with dry-run: true creates files instead of only printing logs
Mockery Version
2.42.1
Golang Version
1.22.0
NOTE: Please upgrade to the latest golang version before submitting tickets!
Installation Method
Binary Distribution
Docker
brew
go install
Other: [specify]
Steps to Reproduce
Create .mockery.yaml config file with dry-run: true
Logs are printed, showing which files would be created
Actual Behavior
Files are actually created
19 Mar 24 11:44 CET INF generating mocks for interface dry-run=true interface=foo qualified-name=github.com/mycompany/internal version=v2.42.1
19 Mar 24 11:44 CET INF writing to file dry-run=true file=test/mocks/foo.go interface=foo qualified-name=github.com/mycompany/internal version=v2.42.1
The text was updated successfully, but these errors were encountered:
PLEASE READ
DO NOT submit tickets without first using the latest version of Golang, clearing your local golang package cache, and re-building mockery using the latest Golang version and the latest version of mockery. Please provide evidence this has been done in your issue. Failure to provide this evidence will likely result in your issue being closed.
Description
Running mockery with dry-run: true creates files instead of only printing logs
Mockery Version
2.42.1
Golang Version
1.22.0
Installation Method
Steps to Reproduce
dry-run: true
mockery
on same folderExpected Behavior
Logs are printed, showing which files would be created
Actual Behavior
Files are actually created
The text was updated successfully, but these errors were encountered: