From 218871e060759be746d87be67912dabb0a0485b6 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sun, 3 Dec 2023 15:45:27 -0800 Subject: [PATCH] logging input --- chrono_track/src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chrono_track/src/main.rs b/chrono_track/src/main.rs index 05739f9..e7e6448 100644 --- a/chrono_track/src/main.rs +++ b/chrono_track/src/main.rs @@ -112,6 +112,8 @@ fn main() -> Result<(), Box> { let logging_note_lines: Vec<&str> = logging_note.content.lines().collect(); + debug!("input: {:#?}", logging_note_lines); + for line in logging_note_lines { if line.starts_with("*Last Updated") { continue; @@ -282,9 +284,6 @@ fn reset_checkboxes(config: &Config) { let mut body_content: Vec<&str> = vec![]; for line in primary_note_lines.iter() { - if line.contains("Send Summary") { - debug!("summary line: '{}'", line); - } if line.starts_with("- [x] Send Summary") { body_content.push("- [ ] Send Summary"); } else if line.starts_with("- [x] Restart Headscale :(") {