Parcourir la source

[lua] resolve symlinks for FileSystem.fullPath

Justin Donaldson il y a 6 ans
Parent
commit
020685773f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      std/lua/_std/sys/FileSystem.hx

+ 1 - 1
std/lua/_std/sys/FileSystem.hx

@@ -64,7 +64,7 @@ class FileSystem {
 	}
 
 	public inline static function fullPath( relPath : String ) : String {
-		return Path.normalize(absolutePath(relPath));
+		return LFileSystem.realpath(Path.normalize(absolutePath(relPath)));
 	}
 
 	public inline static function absolutePath( relPath : String ) : String {