diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-12 01:01:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-12 01:01:43 +0900 |
| commit | 1e44f5723e4c0e0903d00a61f254901e612fe5e1 (patch) | |
| tree | 9c2e1eec364bbf6418a4072ee7767b04c3df0297 /crates/shirabe/src/command/audit_command.rs | |
| parent | ddf0a624145b618c05c2ee47414545b99b685f37 (diff) | |
| download | php-shirabe-1e44f5723e4c0e0903d00a61f254901e612fe5e1.tar.gz php-shirabe-1e44f5723e4c0e0903d00a61f254901e612fe5e1.tar.zst php-shirabe-1e44f5723e4c0e0903d00a61f254901e612fe5e1.zip | |
feat(symfony-console): port Symfony Console and make the workspace compile
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/command/audit_command.rs')
| -rw-r--r-- | crates/shirabe/src/command/audit_command.rs | 10 |
1 files changed, 5 insertions, 5 deletions
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<String, Option<String>> = 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), )?; |
