Skip to content

Commit 949cac2

Browse files
committed
Fix error when when logging settings
1 parent c785339 commit 949cac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Build/Context.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private void WriteSettings(ICakeContext context, string settingsFile)
172172
{
173173
context.SerializeJsonToPrettyFile(settingsFile, this.Settings);
174174
context.Information(log => log($"Saved settings to {Path.GetFullPath(settingsFile)}"));
175-
context.Debug(log => log($"Settings: {context.SerializeJson(this.Settings).Replace("{", "{{")}"));
175+
context.Debug(log => log("{0}", $"Settings: {context.SerializeJson(this.Settings)}"));
176176
}
177177
}
178178
}

0 commit comments

Comments
 (0)