Skip to content

Commit

Permalink
adds await to GetDo action
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Feb 1, 2020
1 parent b42b665 commit aabacf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static async System.Threading.Tasks.Task<int> DoAsync(Action<string> writ

//Update.3.Downloads the index of packages to `./ ags_packages_cache / package_index`.
//If it already exists, overwrites it.
PackageCacheIO.GetPackageIndexAsync(writerMethod, null);
await PackageCacheIO.GetPackageIndexAsync(writerMethod, null);
}

//4.Check if PACKAGE_NAME exists on `./ ags_packages_cache / package_index`, if not, exit with error.
Expand Down

0 comments on commit aabacf4

Please sign in to comment.