vvet: fix silent exit when invoked on a single .v file.
							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…
	
		Reference in New Issue