Skip to content

Commit

Permalink
Fix channel in PackageInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hind-M committed Dec 10, 2024
1 parent 8c80ae9 commit 339b266
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libmamba/src/specs/package_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ namespace mamba::specs
{
out.platform = url.platform_name();
url.clear_platform();
out.channel = util::rstrip(url.str(), '/');
out.channel = util::rstrip(url.str(specs::CondaURL::Credentials::Show), '/');
}

// Note that we use `rsplit...` instead of `split...`
// because the package name may contain '-'.
Expand Down

0 comments on commit 339b266

Please sign in to comment.