aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/outdated_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/outdated_command.rs')
-rw-r--r--crates/shirabe/src/command/outdated_command.rs12
1 files changed, 9 insertions, 3 deletions
diff --git a/crates/shirabe/src/command/outdated_command.rs b/crates/shirabe/src/command/outdated_command.rs
index 3994ab64..a89a1cd8 100644
--- a/crates/shirabe/src/command/outdated_command.rs
+++ b/crates/shirabe/src/command/outdated_command.rs
@@ -187,7 +187,7 @@ impl Command for OutdatedCommand {
}
args.insert(
"--ignore-platform-req".to_string(),
- input.borrow().get_option("ignore-platform-req")?,
+ input.borrow().get_option("ignore-platform-req")?.into(),
);
if input
.borrow()
@@ -197,8 +197,14 @@ impl Command for OutdatedCommand {
{
args.insert("--ignore-platform-reqs".to_string(), PhpMixed::Bool(true));
}
- args.insert("--format".to_string(), input.borrow().get_option("format")?);
- args.insert("--ignore".to_string(), input.borrow().get_option("ignore")?);
+ args.insert(
+ "--format".to_string(),
+ input.borrow().get_option("format")?.into(),
+ );
+ args.insert(
+ "--ignore".to_string(),
+ input.borrow().get_option("ignore")?.into(),
+ );
let input = ArrayInput::new(
args.into_iter()