mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vvet: fix silent exit when invoked on a single .v file.
This commit is contained in:
parent
1e9ec6a126
commit
3e4e0a35e3
@ -71,6 +71,9 @@ fn main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if os.is_file(path) {
|
||||||
|
vet.vet_file(path, false)
|
||||||
|
}
|
||||||
if os.is_dir(path) {
|
if os.is_dir(path) {
|
||||||
vet.vprintln("vetting folder: '$path' ...")
|
vet.vprintln("vetting folder: '$path' ...")
|
||||||
vfiles := os.walk_ext(path, '.v')
|
vfiles := os.walk_ext(path, '.v')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user