1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os: replace dir_exists with is_dir; file_exists() => exists()

This commit is contained in:
Alexander Medvednikov
2019-12-04 23:03:12 +03:00
parent fb237b9e53
commit a57e29dfc5
28 changed files with 116 additions and 98 deletions

View File

@ -15,7 +15,7 @@ pub fn launch_tool(tname string){
//println('Launching: "$tool_command" ...')
mut tool_should_be_recompiled := false
if !os.file_exists( tool_exe ) {
if !os.exists( tool_exe ) {
// fresh checkout
tool_should_be_recompiled = true
}else{