Skip to content

Commit

Permalink
fix: use the correct channel in the reason for exclude (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-arts authored Nov 8, 2023
1 parent 3b7132d commit ff0ee5b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/rattler_solve/src/resolvo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,13 @@ impl<'a> CondaDependencyProvider<'a> {
&record.package_record.name.as_normalized(),
&record.channel
);
candidates.excluded.push((solvable_id, pool.intern_string(format!("due to strict channel priority not using this option from: '{first_channel}'", ))));
candidates.excluded.push((
solvable_id,
pool.intern_string(format!(
"due to strict channel priority not using this option from: '{}'",
&record.channel
)),
));
continue;
}
} else {
Expand Down

0 comments on commit ff0ee5b

Please sign in to comment.