diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-09-06 08:42:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 08:42:08 +0200 |
commit | da588226a2b9caa3d8e4f5ecdbdad77bbbd3d96c (patch) | |
tree | 205d1bbe6f402598db42b528b75d98cf5e56885c /modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs | |
parent | 9fc4f17281a25a74a916c29dd629c7aca5498aab (diff) | |
parent | 8dbd7155b568925456e44f6faecb1f17664e49ca (diff) | |
download | redot-engine-da588226a2b9caa3d8e4f5ecdbdad77bbbd3d96c.tar.gz |
Merge pull request #41790 from alexdlm/fix-csproj-read
Handle csproj "Remove" globs
Diffstat (limited to 'modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs')
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs b/modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs index ae2dbbf58d..05e06babd4 100644 --- a/modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs +++ b/modules/mono/editor/GodotTools/GodotTools.Core/StringExtensions.cs @@ -23,6 +23,9 @@ namespace GodotTools.Core public static string NormalizePath(this string path) { + if (string.IsNullOrEmpty(path)) + return path; + bool rooted = path.IsAbsolutePath(); path = path.Replace('\\', '/'); |