-
Notifications
You must be signed in to change notification settings - Fork 3
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
Non SFDX File in Package Directory Breaks Clean #4
Comments
added a a lot of this boils down to is there a good reason to have non-sfdx files in package folders (kind of feel like now, let's be opinionated and say if it doesn't exist in the org it's deleted, regardless of whether it's an sfdx file our not. package folders are just for sfdx files |
it also deletes the old perhaps we make that the description, cleans folder so that it only contains sfdx metadata that are in the current default org |
Ya, looks like the error. I think we could exclude |
I think the only TODO from this issue is just to make this behavior more apparent in the command help and readme.md |
mostly, i'd say #6 is a todo that comes out of this, but yeah it seems like you'd expect clean to delete these files and to mirror the current constraints of the sfdx command |
In this case, a git merge conflict artifact broke down the process and left everything deleted (will post some thoughts on that in another ticket)
Not totally sure this is really an issue with this command, more an issue with the sfdx command not being smart enough to tell the difference between sfdx and non-sfdx files in package directories.
The text was updated successfully, but these errors were encountered: