We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8d467d commit 0b40e61Copy full SHA for 0b40e61
1 file changed
lib/acl-checker.js
@@ -54,7 +54,7 @@ class ACLChecker {
54
const nearestACL = this.getPossibleACLs().reduce((prevACL, acl) => {
55
return prevACL.catch(() => new Promise((resolve, reject) => {
56
this.fetch(acl, (err, graph) => {
57
- if (err || !graph || !graph.length) {
+ if (err && err.code !== 'ENOENT' || !graph || !graph.length) {
58
isContainer = true
59
reject(err)
60
} else {
0 commit comments