Skip to content

Check for the file version before formatting after CDD.#10210

Merged
sean-mcmanus merged 3 commits intomainfrom
seanmcm/checkVersionForFormatting
Dec 1, 2022
Merged

Check for the file version before formatting after CDD.#10210
sean-mcmanus merged 3 commits intomainfrom
seanmcm/checkVersionForFormatting

Conversation

@sean-mcmanus
Copy link
Contributor

@sean-mcmanus sean-mcmanus commented Nov 30, 2022

Fix for #10203

Check if the document version is modified before applying the formatting edit.

Also, replaced all the nested "ifs" with early returns since the nesting was getting large.

@sean-mcmanus sean-mcmanus requested review from a team and michelleangela November 30, 2022 23:29
@bobbrow
Copy link
Member

bobbrow commented Nov 30, 2022

Need to resolve with @michelleangela's change which already removed the formatting.

@sean-mcmanus
Copy link
Contributor Author

Need to resolve with @michelleangela's change which already removed the formatting.

Yeah, I had to submit an empty commit.

@sean-mcmanus sean-mcmanus merged commit bc6bfac into main Dec 1, 2022
@sean-mcmanus sean-mcmanus deleted the seanmcm/checkVersionForFormatting branch December 1, 2022 00:14
sean-mcmanus added a commit that referenced this pull request Dec 1, 2022
* Check for the file version before formatting after CDD.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants