Skip to content

Commit

Permalink
Fix crash with use of File/@patchgroup.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnson committed Sep 3, 2024
1 parent fb76913 commit eefb3d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void Execute()

if (facade.PatchGroup.HasValue)
{
if (patchGroups.TryGetValue(facade.PatchGroup.Value, out var patchGroup))
if (!patchGroups.TryGetValue(facade.PatchGroup.Value, out var patchGroup))
{
patchGroup = new List<IFileFacade>();
patchGroups.Add(facade.PatchGroup.Value, patchGroup);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<Fragment>
<ComponentGroup Id="Components" Directory="INSTALLFOLDER">
<Component>
<File Source="$(sys.SOURCEFILEPATH)" />
<File PatchGroup="22" Source="$(sys.SOURCEFILEPATH)" />
</Component>

<Component>
Expand Down

0 comments on commit eefb3d6

Please sign in to comment.