mockery icon indicating copy to clipboard operation
mockery copied to clipboard

Fixes #769 : Mock files getting created in disk when dry-run is enabled

Open harshvar2 opened this issue 9 months ago • 1 comments

Description

Fix mock files and directory getting created in disk when dry-run mode is enabled.

  • Fixes #769 (issue)

Type of change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update

Version of Golang used when building/testing:

  • [ ] 1.11
  • [ ] 1.12
  • [ ] 1.13
  • [ ] 1.14
  • [ ] 1.15
  • [ ] 1.16
  • [ ] 1.17
  • [ ] 1.18
  • [ ] 1.19
  • [ ] 1.20
  • [ ] 1.21
  • [x] 1.22

Checklist

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes

harshvar2 avatar Apr 27 '24 08:04 harshvar2

@LandonTClipp please review

harshvar2 avatar Apr 27 '24 09:04 harshvar2