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

ci: fix periodic integration tests (#5666)

This commit is contained in:
Ryan Willis
2020-07-04 10:52:25 -07:00
committed by GitHub
parent fbfd92a899
commit bb6ab185c3
2 changed files with 3 additions and 4 deletions

View File

@ -87,10 +87,8 @@ fn setup_symlink_on_windows(){
C.RegCloseKey(reg_sys_env_handle)
}
sys_env_path := get_reg_value(reg_sys_env_handle, 'Path') or {
warn_and_exit(err)
return
}
// if the above succeeded, and we cannot get the value, it may simply be empty
sys_env_path := get_reg_value(reg_sys_env_handle, 'Path') or { '' }
current_sys_paths := sys_env_path.split(os.path_delimiter).map(it.trim('/$os.path_separator'))
mut new_paths := [ vsymlinkdir ]