summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/GodotTools/GodotTools.Core
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2022-08-27 03:22:23 +0200
committerRaul Santos <raulsntos@gmail.com>2022-08-27 03:22:31 +0200
commitd35c58507c7b4e1da2c310f3d290c7c13ea8fcf0 (patch)
treeddc4087efad7fd134b17696cc996970e11e6b6ce /modules/mono/editor/GodotTools/GodotTools.Core
parent390333e822c95081cfbd837699c8c63370b388dc (diff)
downloadredot-engine-d35c58507c7b4e1da2c310f3d290c7c13ea8fcf0.tar.gz
Fix C# style with `dotnet format`
Diffstat (limited to 'modules/mono/editor/GodotTools/GodotTools.Core')
-rw-r--r--modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs b/modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs
index 60a4f297c9..7c5502814f 100644
--- a/modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs
+++ b/modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs
@@ -34,7 +34,7 @@ namespace GodotTools.Core
path = path.Replace('\\', '/');
path = path[path.Length - 1] == '/' ? path.Substring(0, path.Length - 1) : path;
- string[] parts = path.Split(new[] {'/'}, StringSplitOptions.RemoveEmptyEntries);
+ string[] parts = path.Split(new[] { '/' }, StringSplitOptions.RemoveEmptyEntries);
path = string.Join(Path.DirectorySeparatorChar.ToString(), parts).Trim();
@@ -60,7 +60,7 @@ namespace GodotTools.Core
public static string ToSafeDirName(this string dirName, bool allowDirSeparator = false)
{
- var invalidChars = new List<string> {":", "*", "?", "\"", "<", ">", "|"};
+ var invalidChars = new List<string> { ":", "*", "?", "\"", "<", ">", "|" };
if (allowDirSeparator)
{