fix: acl path needs to be resolved
This commit is contained in:
parent
4e129d527a
commit
3f65c7e610
@ -212,6 +212,7 @@ async function hasAcl() {
|
||||
}
|
||||
|
||||
try {
|
||||
path = resolve(path)
|
||||
await access(path, constants.R_OK)
|
||||
return true
|
||||
} catch {}
|
||||
@ -235,6 +236,7 @@ async function hasAclW() {
|
||||
}
|
||||
|
||||
try {
|
||||
path = resolve(path)
|
||||
await access(path, constants.W_OK)
|
||||
return true
|
||||
} catch {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user