Skip to content

Commit

Permalink
Update src/Neo.CLI/CLI/MainService.Plugins.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Anna Shaleva <[email protected]>
  • Loading branch information
shargon and AnnaShaleva authored Aug 23, 2024
1 parent 59d3217 commit 5b1e2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Neo.CLI/CLI/MainService.Plugins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private static async Task<Stream> DownloadPluginAsync(string pluginName, Version
var jsonRelease = json.AsArray()
.FirstOrDefault(s =>
s?["tag_name"]?.GetValue<string>() == pluginVersionString &&
s["prerelease"]?.GetValue<bool>() == prerelease);
s?["prerelease"]?.GetValue<bool>() == prerelease);

if (jsonRelease == null)
{
Expand Down

0 comments on commit 5b1e2fd

Please sign in to comment.