Skip to content

Commit

Permalink
style: clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mfauzaan committed Apr 5, 2023
1 parent 4dada97 commit 6a5a7ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/dev/config_secrets_push.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ fn filter_vault_secret_annotations(
let mut filtered_annotations: HashMap<String, VaultSecretAnnotation> = HashMap::new();

for file in available_files {
let src = std::fs::read_to_string(file.clone())?;
let annotations = read_vault_annotation(&src);
let file_contents = std::fs::read_to_string(file.clone())?;
let annotations = read_vault_annotation(&file_contents);

for annotation in annotations {
if annotation.key == "wukong.mindvalley.dev/config-secrets-location"
Expand Down

0 comments on commit 6a5a7ff

Please sign in to comment.