pref: fix message on inferred run (#6947)
							parent
							
								
									96b6a03d01
								
							
						
					
					
						commit
						2957541e48
					
				| 
						 | 
				
			
			@ -450,7 +450,7 @@ pub fn parse_args(args []string) (&Preferences, string) {
 | 
			
		|||
		must_exist(res.path)
 | 
			
		||||
		if !res.path.ends_with('.v') && os.is_executable(res.path) && os.is_file(res.path) &&
 | 
			
		||||
			os.is_file(res.path + '.v') {
 | 
			
		||||
			eprintln('It looks like you wanted to run `v $res.path`, so we went ahead and did that since "$res.path" is an executable.')
 | 
			
		||||
			eprintln('It looks like you wanted to run "${res.path}.v", so we went ahead and did that since "$res.path" is an executable.')
 | 
			
		||||
			res.path += '.v'
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue