mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: fix v check-md .
on windows too (skip thirdparty/ and the CHANGELOG)
This commit is contained in:
parent
1470eb6fa4
commit
9c78e3c289
@ -96,7 +96,8 @@ fn md_file_paths(dir string) []string {
|
||||
mut files_to_check := []string{}
|
||||
md_files := os.walk_ext(dir, '.md')
|
||||
for file in md_files {
|
||||
if file.contains_any_substr(['/thirdparty/', 'CHANGELOG']) {
|
||||
nfile := file.replace('\\', '/')
|
||||
if nfile.contains_any_substr(['/thirdparty/', 'CHANGELOG']) {
|
||||
continue
|
||||
}
|
||||
files_to_check << file
|
||||
|
Loading…
Reference in New Issue
Block a user