fmt: applied formatting
This commit is contained in:
+1
-3
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user