Skip to content

Conversation

@cafreeman
Copy link
Contributor

@cafreeman cafreeman commented May 19, 2021

Closes https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07AH000000MJTtYAO/view

We originally deleted references by simply deleting all function references that existed in the remote org but did not exist locally.

This works great if you only have a 1 project per org, but falls apart the second you have multiple projects pointing at the same org (you end up deleting all the functions for all the other projects 😬).

This PR fixes that by being more fine-grained when comparing the two sets of function refs and only comparing refs for the project you're currently working with.

@cafreeman cafreeman marked this pull request as ready for review May 19, 2021 17:22
@cafreeman cafreeman merged commit 943e7a6 into main May 20, 2021
@cafreeman cafreeman deleted the cfreeman/fix-function-delete branch May 20, 2021 17:18
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 this pull request may close these issues.

3 participants