Browse Source

fix: FileSystem.GetFullPath

Akeit0 6 months ago
parent
commit
e3c3ef1611
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Lua/IO/FileSystem.cs

+ 1 - 1
src/Lua/IO/FileSystem.cs

@@ -20,7 +20,7 @@
 
         public string GetFullPath(string path)
         {
-            if (baseDirectory == null || Path.IsPathFullyQualified(path))
+            if (baseDirectory == null || Path.IsPathRooted(path))
             {
                 return path;
             }