You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
add suggested fix
This commit is contained in:
@@ -107,7 +107,7 @@ namespace GodotTools.Utils
|
||||
searchDirs.AddRange(pathDirs);
|
||||
|
||||
string nameExt = Path.GetExtension(name);
|
||||
bool hasPathExt = string.IsNullOrEmpty(nameExt) || windowsExts.Contains(nameExt, StringComparer.OrdinalIgnoreCase);
|
||||
bool hasPathExt = !string.IsNullOrEmpty(nameExt) && windowsExts.Contains(nameExt, StringComparer.OrdinalIgnoreCase);
|
||||
|
||||
searchDirs.Add(System.IO.Directory.GetCurrentDirectory()); // last in the list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user