fmt: applied formatting

This commit is contained in:
2026-06-03 15:05:58 -06:00
parent 09fb6634f0
commit 1c983fb144
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()
.all(|c| c.is_ascii_alphanumeric() || c == '-' || c == '_')
{
bail!(
"Invalid skill name '{name}': only letters, digits, '-', and '_' are allowed"
);
bail!("Invalid skill name '{name}': only letters, digits, '-', and '_' are allowed");
}
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() {
return String::new();
}
let name = caps[1].trim();
match vault.get_secret(name, false) {
Ok(s) => s,