mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Fixed an issue in FileSystem module.
This commit is contained in:
@ -293,7 +293,8 @@
|
|||||||
<PropertyGroup Condition=" '$(Configuration)' == 'iOS_Tests'">
|
<PropertyGroup Condition=" '$(Configuration)' == 'iOS_Tests'">
|
||||||
<TargetOS>iOS</TargetOS>
|
<TargetOS>iOS</TargetOS>
|
||||||
<JSConfig>Deploy\xCode\Configuration.xml</JSConfig>
|
<JSConfig>Deploy\xCode\Configuration.xml</JSConfig>
|
||||||
<JSMainFile>bootstrap.js</JSMainFile>
|
<!--TODO: Do not call this JSMainFile - this file is actually NOT deleted during the Copy step.-->
|
||||||
|
<JSMainFile>Readme.md</JSMainFile>
|
||||||
<CopyTests>true</CopyTests>
|
<CopyTests>true</CopyTests>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'Documentation'">
|
<PropertyGroup Condition=" '$(Configuration)' == 'Documentation'">
|
||||||
|
1
Deploy/xCode/.gitignore
vendored
Normal file
1
Deploy/xCode/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/Configuration.xml
|
@ -375,8 +375,7 @@ export class FileSystemAccess {
|
|||||||
nsArray.addObject(paths[i]);
|
nsArray.addObject(paths[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Static methods return NSString instance to enable its methods
|
var nsString = Foundation.NSString.stringWithString(Foundation.NSString.pathWithComponents(nsArray));
|
||||||
var nsString: any = Foundation.NSString.pathWithComponents(nsArray);
|
|
||||||
return nsString.stringByStandardizingPath();
|
return nsString.stringByStandardizingPath();
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user