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

Fix clean workflow #39

Merged
merged 7 commits into from
May 16, 2022
Merged

Fix clean workflow #39

merged 7 commits into from
May 16, 2022

Conversation

davelopez
Copy link
Owner

Fixes #38

When removing a property that is the last one and then trying to remove the trailing comma of the previous property, it might happen that the previous property was also a 'non-essential' property and was removed too... this creates conflicting edits in the document and the command was canceled...

Includes an integration test for the Clean workflow command and some enhancements and fixes around integration tests.

davelopez added 7 commits May 14, 2022 14:40
The `extensionDevelopmentPath` was not pointing to the right directory where the extension manifest file was in.
Was failing because conflicting edits trying to remove the trailing comma for a property that was already removed.

Now, if the property with the trailing comma is removed, it will check the previous property and so on.
@davelopez davelopez added the bug Something isn't working label May 14, 2022
@davelopez davelopez merged commit fb8fb55 into main May 16, 2022
@davelopez davelopez deleted the fix_clean_workflow branch May 16, 2022 22:24
@davelopez davelopez added this to the v0.2.0 milestone Jun 10, 2022
@davelopez davelopez mentioned this pull request Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean workflow command doesn't work in some files
1 participant