Skip to content

Commit 5ac79e6

Browse files
committed
fix(File): ensure #set|setACL to return this
1 parent 1ae2317 commit 5ac79e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/file.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ module.exports = function(AV) {
277277
return new AVError(AVError.OTHER_CAUSE, 'ACL must be a AV.ACL.');
278278
}
279279
this._acl = acl;
280+
return this;
280281
},
281282

282283
/**
@@ -353,6 +354,7 @@ module.exports = function(AV) {
353354
set(args[0], args[1]);
354355
break;
355356
}
357+
return this;
356358
},
357359

358360
/**

0 commit comments

Comments
 (0)