Skip to content

Commit

Permalink
have checkboxes only point to date-check lines in files (rust-lang#1603)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tshepang authored Feb 17, 2023
1 parent 19f6cc8 commit 12f5d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/date-check/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 12f5d8d

Please sign in to comment.