Skip to content

Commit

Permalink
fix: remove the printlns to fix vscode erroring
Browse files Browse the repository at this point in the history
  • Loading branch information
Feel-ix-343 committed Apr 21, 2024
1 parent e8b5685 commit f5d1223
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,9 @@ fn momentjs_to_chrono_format_map() -> IndexMap<&'static str, &'static str> {
fn convert_momentjs_to_chrono_format(moment_format: &str) -> String {
let format_map = momentjs_to_chrono_format_map();
let mut chrono_format = moment_format.to_string();
println!("{:?}", chrono_format);

for (moment_token, chrono_token) in format_map.iter() {
println!("{:?}", chrono_token);
chrono_format = chrono_format.replace(moment_token, chrono_token);
println!("{:?}", chrono_format);
}

chrono_format
Expand Down
4 changes: 0 additions & 4 deletions src/vault/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@ impl MDMetadata {

let metadata_match = RE.captures_iter(text).next()?.name("metadata");

println!("metadata_match: {:?}", metadata_match);

let metadata_match = metadata_match?;

let md_metadata = serde_yaml::from_str::<MDMetadata>(metadata_match.as_str());

println!("md_metadata: {:?}", md_metadata);

md_metadata.ok()
}

Expand Down

0 comments on commit f5d1223

Please sign in to comment.