Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale mocks are not always removed, causing build issues #109

Closed
nikolaykasyanov opened this issue Dec 28, 2021 · 0 comments · Fixed by #118
Closed

Stale mocks are not always removed, causing build issues #109

nikolaykasyanov opened this issue Dec 28, 2021 · 0 comments · Fixed by #118

Comments

@nikolaykasyanov
Copy link
Member

nikolaykasyanov commented Dec 28, 2021

When an interface is removed and an engineer has its generated mock locally, generateMocks task will not wipe it, leading to a build error while trying to compile it.

Example (internal link): https://careemteam.slack.com/archives/CB9STU0FM/p1640688401002300

MarcoSignoretto added a commit that referenced this issue May 13, 2022
This patch fix #109 ensuring older version of the mock is always removed.
MarcoSignoretto added a commit that referenced this issue May 18, 2022
* Clear mocks before regeneration

This patch fix #109 ensuring older version of the mock is always removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant