aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src')
-rw-r--r--crates/shirabe/src/command/bump_command.rs2
-rw-r--r--crates/shirabe/src/installer.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/crates/shirabe/src/command/bump_command.rs b/crates/shirabe/src/command/bump_command.rs
index 8f27fcb8..4b09f14c 100644
--- a/crates/shirabe/src/command/bump_command.rs
+++ b/crates/shirabe/src/command/bump_command.rs
@@ -146,7 +146,7 @@ impl BumpCommand {
.is_some_and(|m| m.contains_key("type"))
{
io.write_error3(
- "If your package is not a library, you can explicitly specify the \"type\" by using \"composer config type project\".",
+ "<warning>If your package is not a library, you can explicitly specify the \"type\" by using \"composer config type project\".</warning>",
true,
io_interface::NORMAL,
);
diff --git a/crates/shirabe/src/installer.rs b/crates/shirabe/src/installer.rs
index 068b85c3..6d943ea7 100644
--- a/crates/shirabe/src/installer.rs
+++ b/crates/shirabe/src/installer.rs
@@ -1436,14 +1436,13 @@ impl Installer {
alias_normalized: alias.get("alias_normalized").cloned().unwrap_or_default(),
})
.collect();
- let temporary_constraints: IndexMap<String, AnyConstraint> = IndexMap::new();
let mut repository_set = RepositorySet::new(
&minimum_stability,
stability_flags,
root_aliases_input,
self.package.get_references().clone(),
root_requires,
- temporary_constraints,
+ self.temporary_constraints.clone(),
);
repository_set.add_repository(crate::repository::RepositoryInterfaceHandle::new(
RootPackageRepository::new(self.fixed_root_package.clone()),