We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GetFullPath
1 parent 472e40a commit a032c16Copy full SHA for a032c16
1 file changed
FindExecutable/FindExecutable.cs
@@ -109,7 +109,15 @@ public static class FindExecutable
109
continue;
110
}
111
112
- string p = Path.GetFullPath(path);
+ string p;
113
+ try
114
+ {
115
+ p = Path.GetFullPath(path);
116
+ }
117
+ catch
118
119
+ continue; // skip if `GetFullPath` failed, as then the string value of `path` was likely illegal
120
121
if (!Directory.Exists(p))
122
{
123
0 commit comments