From 021ce52f8f6f2e61b6f4e76804580ebc06ace277 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Fri, 11 Oct 2024 02:13:59 +0200 Subject: [PATCH 1/2] ApplicationScope - Add 'Contributors' property to empty array if task returned null --- PCK-Studio/Internal/App/ApplicationScope.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCK-Studio/Internal/App/ApplicationScope.cs b/PCK-Studio/Internal/App/ApplicationScope.cs index 19f7109e..c6b9762f 100644 --- a/PCK-Studio/Internal/App/ApplicationScope.cs +++ b/PCK-Studio/Internal/App/ApplicationScope.cs @@ -56,7 +56,7 @@ namespace PckStudio.Internal.App var ghClient = new Octokit.GitHubClient(new Octokit.ProductHeaderValue(Application.ProductName + "Credits")); Task> allContributorsAct = ghClient.Repository.GetAllContributors("PhoenixARC", "-PCK-Studio"); allContributorsAct.Wait(); - Contributors = allContributorsAct.Result.ToArray(); + Contributors = allContributorsAct.Result.ToArray() ?? Array.Empty(); } } } \ No newline at end of file From cb041732f8c1e9443593d13adb1fadd8f86a96af Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Fri, 11 Oct 2024 02:15:03 +0200 Subject: [PATCH 2/2] Update OMI submodule --- Vendor/OMI-Lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vendor/OMI-Lib b/Vendor/OMI-Lib index 8da46067..c3834ec0 160000 --- a/Vendor/OMI-Lib +++ b/Vendor/OMI-Lib @@ -1 +1 @@ -Subproject commit 8da46067972139bb68334c80da3914893b5aeca7 +Subproject commit c3834ec009efe70bc198448ea3034b3bb998d262