1
0
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:
tr00 2022-08-26 05:59:52 +02:00 committed by GitHub
parent 40c0a8cbaf
commit 3eb6ad7b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {