From 114babd2e52b4878a28bc59857767091d6a8ef40 Mon Sep 17 00:00:00 2001 From: Muhammad Danish <88161975+mdanish-kh@users.noreply.github.com> Date: Tue, 10 Mar 2026 02:54:21 +0500 Subject: [PATCH] Fix order of function arguments --- src/WingetCreateCore/Common/GitHub.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);