-
-
Notifications
You must be signed in to change notification settings - Fork 783
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
fix: Narrow scope of cleanup #8441
Conversation
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
What happens if the invoke task is run from outside the source directory? Should we also confirm that the command is being run from the correct directory first? |
that should not be a problem, the command uses the |
See Lines 139 to 150 in c062d5e
|
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
This fixes the
clear-generated
task. It was previously too widely scoped and had the potential to brick users envs if they were under /opt/inventree (which is the default).This fix narrows the scope to the "src" directory - which is always guaranteed to be InvenTree internal stuff.
Fixes #8252 #8155