Merge pull request #64085 from raulsntos/fix-rider-check
This commit is contained in:
commit
01ce034398
@ -66,6 +66,9 @@ namespace GodotTools.Ides.Rider
|
||||
if (string.IsNullOrEmpty(path))
|
||||
return false;
|
||||
|
||||
if (path.IndexOfAny(Path.GetInvalidPathChars()) != -1)
|
||||
return false;
|
||||
|
||||
var fileInfo = new FileInfo(path);
|
||||
string filename = fileInfo.Name.ToLowerInvariant();
|
||||
return filename.StartsWith("rider", StringComparison.Ordinal);
|
||||
|
Loading…
Reference in New Issue
Block a user