@@ -67,16 +67,16 @@ internal async Task DownloadPackageAsync(JObject updatePackage, string expectedB
67
67
throw new InvalidDataException ( "Received a diff update, but there is no current version to diff against." ) ;
68
68
}
69
69
70
- await UpdateUtils . CopyNecessaryFilesFromCurrentPackage ( diffManifestFile , currentPackageFolder , newUpdateFolder ) ;
70
+ await UpdateUtils . CopyNecessaryFilesFromCurrentPackageAsync ( diffManifestFile , currentPackageFolder , newUpdateFolder ) ;
71
71
await diffManifestFile . DeleteAsync ( ) ;
72
72
}
73
73
74
- await FileUtils . MergeFolders ( unzippedFolder , newUpdateFolder ) ;
74
+ await FileUtils . MergeFoldersAsync ( unzippedFolder , newUpdateFolder ) ;
75
75
await unzippedFolder . DeleteAsync ( ) ;
76
76
77
77
// For zip updates, we need to find the relative path to the jsBundle and save it in the
78
78
// metadata so that we can find and run it easily the next time.
79
- string relativeBundlePath = await UpdateUtils . FindJSBundleInUpdateContents ( newUpdateFolder , expectedBundleFileName ) ;
79
+ string relativeBundlePath = await UpdateUtils . FindJSBundleInUpdateContentsAsync ( newUpdateFolder , expectedBundleFileName ) ;
80
80
if ( relativeBundlePath == null )
81
81
{
82
82
throw new InvalidDataException ( "Update is invalid - A JS bundle file named \" " + expectedBundleFileName + "\" could not be found within the downloaded contents. Please check that you are releasing your CodePush updates using the exact same JS bundle file name that was shipped with your app's binary." ) ;
@@ -149,7 +149,7 @@ internal async Task<JObject> GetPackageAsync(string packageHash)
149
149
try
150
150
{
151
151
StorageFile packageFile = await packageFolder . GetFileAsync ( CodePushConstants . PackageFileName ) ;
152
- return await CodePushUtils . GetJObjectFromFile ( packageFile ) ;
152
+ return await CodePushUtils . GetJObjectFromFileAsync ( packageFile ) ;
153
153
}
154
154
catch ( IOException )
155
155
{
@@ -258,7 +258,7 @@ private async Task<StorageFolder> GetCurrentPackageFolderAsync()
258
258
private async Task < JObject > GetCurrentPackageInfoAsync ( )
259
259
{
260
260
StorageFile statusFile = await GetStatusFileAsync ( ) ;
261
- return await CodePushUtils . GetJObjectFromFile ( statusFile ) ;
261
+ return await CodePushUtils . GetJObjectFromFileAsync ( statusFile ) ;
262
262
}
263
263
264
264
private async Task < StorageFile > GetDownloadFileAsync ( )
0 commit comments