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 pass by reference bug when applying changes to all installers #164

Merged
merged 3 commits into from
Sep 13, 2021

Conversation

ryfu-msft
Copy link
Contributor

@ryfu-msft ryfu-msft commented Sep 10, 2021

This PR addresses a bug where List objects passed by reference were causing errors when serializing the manifest as seen in the image below (InstallerSuccessCodes produces weird characters):

MicrosoftTeams-image

The fix was to assign the object by value rather than by reference which requires creating new instances of the edited values

Microsoft Reviewers: Open in CodeFlow

Copy link
Contributor

@palenshus palenshus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@ryfu-msft ryfu-msft merged commit a3ef904 into main Sep 13, 2021
@ryfu-msft ryfu-msft deleted the allInstallerBug branch September 13, 2021 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants