We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50cb63f commit 8b42908Copy full SHA for 8b42908
lib/utils.js
@@ -298,11 +298,11 @@ async function overQuota (root, serverUri) {
298
// costly operation, but neglible for the small quotas we currently
299
// allow. If the quotas grow bigger, this will significantly reduce
300
// write performance, and so it needs to be rewritten.
301
- var actualSize = await _asyncGetSize(root)
302
- return (actualSize > quota)
+ var size = await actualSize(root)
+ return (size > quota)
303
}
304
305
-function _asyncGetSize (root) {
+function actualSize (root) {
306
return util.promisify(getSize)(root)
307
308
0 commit comments