mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fixed an issue in FileSystem module.
This commit is contained in:
@@ -375,8 +375,7 @@ export class FileSystemAccess {
|
||||
nsArray.addObject(paths[i]);
|
||||
}
|
||||
|
||||
// TODO: Static methods return NSString instance to enable its methods
|
||||
var nsString: any = Foundation.NSString.pathWithComponents(nsArray);
|
||||
var nsString = Foundation.NSString.stringWithString(Foundation.NSString.pathWithComponents(nsArray));
|
||||
return nsString.stringByStandardizingPath();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user