Skip to content

Commit

Permalink
Fixed serialization of ReadOnlyPackageFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
igor84 committed May 24, 2024
1 parent bd685f3 commit 4409be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NuGetForUnity/Editor/Configuration/NugetConfigFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ public void Save([NotNull] string filePath)
config.Add(addElement);
}

if (!ReadOnlyPackageFiles)
if (ReadOnlyPackageFiles)
{
addElement = new XElement("add");
addElement.Add(new XAttribute("key", "ReadOnlyPackageFiles"));
Expand Down

0 comments on commit 4409be4

Please sign in to comment.