|
|
|
@ -112,6 +112,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
|
|
|
|
|
|
|
|
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 :(") {
|
|
|
|
|