diff --git a/src/WingetCreateCore/Common/GitHub.cs b/src/WingetCreateCore/Common/GitHub.cs index 3d75bef5..17b243e3 100644 --- a/src/WingetCreateCore/Common/GitHub.cs +++ b/src/WingetCreateCore/Common/GitHub.cs @@ -417,7 +417,7 @@ await retryPolicy.ExecuteAsync(async () => } } - private async Task GetVersionDirectoryPath(string packageId, string manifestRoot = Constants.WingetManifestRoot, string version = null) + private async Task GetVersionDirectoryPath(string packageId, string version = null, string manifestRoot = Constants.WingetManifestRoot) { string appPath = Utils.GetAppManifestDirPath(packageId, string.Empty, manifestRoot, '/'); var contents = await this.github.Repository.Content.GetAllContents(this.wingetRepoOwner, this.wingetRepo, appPath);