From 5b1e2fd24bbda70c385e62c7d5cc6ac3701a8c6a Mon Sep 17 00:00:00 2001 From: Shargon Date: Sat, 24 Aug 2024 07:02:12 +1300 Subject: [PATCH] Update src/Neo.CLI/CLI/MainService.Plugins.cs Co-authored-by: Anna Shaleva --- src/Neo.CLI/CLI/MainService.Plugins.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Neo.CLI/CLI/MainService.Plugins.cs b/src/Neo.CLI/CLI/MainService.Plugins.cs index 67beef6b15..b8a7dc8c85 100644 --- a/src/Neo.CLI/CLI/MainService.Plugins.cs +++ b/src/Neo.CLI/CLI/MainService.Plugins.cs @@ -93,7 +93,7 @@ private static async Task DownloadPluginAsync(string pluginName, Version var jsonRelease = json.AsArray() .FirstOrDefault(s => s?["tag_name"]?.GetValue() == pluginVersionString && - s["prerelease"]?.GetValue() == prerelease); + s?["prerelease"]?.GetValue() == prerelease); if (jsonRelease == null) {