Replace F extension with string interpolation

This commit is contained in:
teinarss
2021-04-24 17:46:24 +02:00
committed by reaperrr
parent 1385aca783
commit 10676be377
300 changed files with 752 additions and 799 deletions

View File

@@ -68,12 +68,12 @@ namespace OpenRA.Mods.Common.UtilityCommands
{
// The stacktrace associated with yaml errors are not very useful
// Suppress them to make the lint output less intimidating for modders
Console.WriteLine("\t{0}".F(e.Message));
Console.WriteLine($"\t{e.Message}");
failed = true;
}
catch (Exception e)
{
Console.WriteLine("Failed with exception: {0}".F(e));
Console.WriteLine($"Failed with exception: {e}");
failed = true;
}
}
@@ -82,7 +82,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
{
// The stacktrace associated with yaml errors are not very useful
// Suppress them to make the lint output less intimidating for modders
Console.WriteLine("{0}".F(e.Message));
Console.WriteLine($"{e.Message}");
failed = true;
}