fmt: applied formatting

This commit is contained in:
2026-06-03 15:05:58 -06:00
parent eeaeb42c9a
commit f6da937c5d
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -88,9 +88,7 @@ pub fn validate_skill_name(name: &str) -> Result<()> {
.chars() .chars()
.all(|c| c.is_ascii_alphanumeric() || c == '-' || c == '_') .all(|c| c.is_ascii_alphanumeric() || c == '-' || c == '_')
{ {
bail!( bail!("Invalid skill name '{name}': only letters, digits, '-', and '_' are allowed");
"Invalid skill name '{name}': only letters, digits, '-', and '_' are allowed"
);
} }
Ok(()) Ok(())
} }
+1 -1
View File
@@ -367,7 +367,7 @@ pub fn interpolate_secrets(content: &str, vault: &Vault) -> Result<(String, Vec<
if fatal_error.is_some() { if fatal_error.is_some() {
return String::new(); return String::new();
} }
let name = caps[1].trim(); let name = caps[1].trim();
match vault.get_secret(name, false) { match vault.get_secret(name, false) {
Ok(s) => s, Ok(s) => s,