Explorar o código

changed required version for removeTrailingSlash to 3.01

frabbit %!s(int64=11) %!d(string=hai) anos
pai
achega
eedbe9c103
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      std/haxe/io/Path.hx

+ 2 - 2
std/haxe/io/Path.hx

@@ -208,11 +208,11 @@ class Path {
 		
 		If `path` is null, the result is unspecified.
 	**/
-	@:require(haxe_ver >= 3.1)
+	@:require(haxe_ver >= 3.01)
 	public static function removeTrailingSlash ( path : String ) : String {
 		return switch(path.charCodeAt(path.length - 1)) {
 			case '/'.code | '\\'.code: path.substr(0, -1);
 			case _: path;
 		}
 	}
-}
+}