|
@@ -95,7 +95,7 @@ class FileSystem {
|
|
|
**/
|
|
|
public static function createDirectory( path : String ) : Void
|
|
|
{
|
|
|
- if (!new File(path).mkdir())
|
|
|
+ if (!new File(path).mkdirs())
|
|
|
throw "Cannot create dir " + path;
|
|
|
}
|
|
|
|
|
@@ -128,4 +128,4 @@ class FileSystem {
|
|
|
return Lib.array( f.list() );
|
|
|
}
|
|
|
|
|
|
-}
|
|
|
+}
|