Skip to content

Commit

Permalink
Fix error when when logging settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes committed Feb 22, 2024
1 parent c785339 commit 949cac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/Context.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private void WriteSettings(ICakeContext context, string settingsFile)
{
context.SerializeJsonToPrettyFile(settingsFile, this.Settings);
context.Information(log => log($"Saved settings to {Path.GetFullPath(settingsFile)}"));
context.Debug(log => log($"Settings: {context.SerializeJson(this.Settings).Replace("{", "{{")}"));
context.Debug(log => log("{0}", $"Settings: {context.SerializeJson(this.Settings)}"));
}
}
}

0 comments on commit 949cac2

Please sign in to comment.