From 1e44f5723e4c0e0903d00a61f254901e612fe5e1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 12 Jun 2026 01:01:35 +0900 Subject: feat(symfony-console): port Symfony Console and make the workspace compile Co-Authored-By: Claude Opus 4.8 --- crates/shirabe/src/command/audit_command.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/shirabe/src/command/audit_command.rs') diff --git a/crates/shirabe/src/command/audit_command.rs b/crates/shirabe/src/command/audit_command.rs index 0e050cc..cd7a799 100644 --- a/crates/shirabe/src/command/audit_command.rs +++ b/crates/shirabe/src/command/audit_command.rs @@ -85,7 +85,7 @@ impl AuditCommand { let abandoned = input .borrow() - .get_option("abandoned") + .get_option("abandoned")? .as_string() .map(|s| s.to_string()); if abandoned.is_some() @@ -115,7 +115,7 @@ impl AuditCommand { let mut ignore_severities: indexmap::IndexMap> = indexmap::IndexMap::new(); - let cli_severities = input.borrow().get_option("ignore-severity"); + let cli_severities = input.borrow().get_option("ignore-severity")?; if let Some(list) = cli_severities.as_list() { for sev in list { if let Some(s) = sev.as_string() { @@ -128,7 +128,7 @@ impl AuditCommand { } let ignore_unreachable = input .borrow() - .get_option("ignore-unreachable") + .get_option("ignore-unreachable")? .as_bool() .unwrap_or(false) || audit_config.ignore_unreachable; @@ -158,7 +158,7 @@ impl AuditCommand { let mut composer = crate::command::composer_full_mut(composer); if input .borrow() - .get_option("locked") + .get_option("locked")? .as_bool() .unwrap_or(false) { @@ -173,7 +173,7 @@ impl AuditCommand { let locked_repo = locker.get_locked_repository( !input .borrow() - .get_option("no-dev") + .get_option("no-dev")? .as_bool() .unwrap_or(false), )?; -- cgit v1.3.1