mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: fix type in error message (#15533)
This commit is contained in:
parent
40c0a8cbaf
commit
3eb6ad7b8c
@ -482,7 +482,7 @@ pub fn is_writable_folder(folder string) ?bool {
|
|||||||
return error('`$folder` does not exist')
|
return error('`$folder` does not exist')
|
||||||
}
|
}
|
||||||
if !is_dir(folder) {
|
if !is_dir(folder) {
|
||||||
return error('`folder` is not a folder')
|
return error('`$folder` is not a folder')
|
||||||
}
|
}
|
||||||
tmp_perm_check := join_path_single(folder, 'XXXXXX')
|
tmp_perm_check := join_path_single(folder, 'XXXXXX')
|
||||||
defer {
|
defer {
|
||||||
|
Loading…
Reference in New Issue
Block a user