ci: fix `v -b js vlib/builtin/js/array_test.js.v`

pull/12550/head
Delyan Angelov 2021-11-22 15:11:33 +02:00
parent 6a252ed015
commit 5e8288528a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -39,8 +39,8 @@ pub fn cp_all(src string, dst string, overwrite bool) ? {
} }
// single file copy // single file copy
if !is_dir(source_path) { if !is_dir(source_path) {
fname := file_name(source_path)
adjusted_path := if is_dir(dest_path) { adjusted_path := if is_dir(dest_path) {
fname := file_name(source_path)
join_path_single(dest_path, fname) join_path_single(dest_path, fname)
} else { } else {
dest_path dest_path