From 12f5d8d84fb78c368a18c1024394678c213bbeb7 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Fri, 17 Feb 2023 06:38:25 +0200 Subject: [PATCH] have checkboxes only point to date-check lines in files (#1603) They currently also point to filenames, which is redundant. current - [ ] thir.md - [ ] line 7: 2022-04 - [ ] line 60: 2022-08 - [ ] traits/chalk.md - [ ] line 4: 2022-05 proposed - thir.md - [ ] line 7: 2022-04 - [ ] line 60: 2022-08 - traits/chalk.md - [ ] line 4: 2022-05 --- ci/date-check/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/date-check/src/main.rs b/ci/date-check/src/main.rs index 70fce8b1..d9e8145a 100644 --- a/ci/date-check/src/main.rs +++ b/ci/date-check/src/main.rs @@ -170,7 +170,7 @@ fn main() { for (path, dates) in dates_by_file { println!( - "- [ ] {}", + "- {}", path.strip_prefix(&root_dir_path).unwrap_or(&path).display(), ); for (line, date) in dates {