Skip to content

Commit

Permalink
ci: use just os.walk_ext/2, instead of os.glob/1 (the windows impleme…
Browse files Browse the repository at this point in the history
…ntation of os.glob is less well tested and differs from the unix one, unlike os.walk_ext/2)
  • Loading branch information
spytheman committed May 26, 2024
1 parent 189d3ca commit dbfb62e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 92 deletions.
2 changes: 1 addition & 1 deletion cmd/tools/vcover/main.v
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ fn main() {
continue
}
if os.is_dir(t) {
found_counter_files := os.glob('${t}/${vcounter_glob_pattern}')!
found_counter_files := os.walk_ext(t, '.csv')
if found_counter_files.len == 0 {
log.error('Skipping ${t}, since there are 0 ${vcounter_glob_pattern} files in it')
continue
Expand Down
91 changes: 0 additions & 91 deletions cmd/tools/vcover/reporting.v

This file was deleted.

0 comments on commit dbfb62e

Please sign in to comment.