Skip to content

Commit

Permalink
fix(client): fix get nuget versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Feb 27, 2024
1 parent a1a1716 commit 5ceb925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/coreclr/CoreClrValidation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ std::string CoreClr::GetLatestNugetVersion(alt::IHttpClient* httpClient, const s
if (branch == "release") {
if (it->find("-") == std::string::npos) return *it;
} else {
if (utils::has_suffix(*it, "-" + branch + ".")) return *it;
if (it->find("-" + branch) != std::string::npos) return *it;
}
}

Expand Down

0 comments on commit 5ceb925

Please sign in to comment.