Explorar o código

remove bracket

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
ee13d67dd4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/app/src/server/service/page.ts

+ 1 - 1
packages/app/src/server/service/page.ts

@@ -906,7 +906,7 @@ class PageService {
       async write(batch, encoding, callback) {
         try {
           count += batch.length;
-          nNonEmptyDuplicatedPages += (batch.filter(page => !page.isEmpty)).length;
+          nNonEmptyDuplicatedPages += batch.filter(page => !page.isEmpty).length;
           await duplicateDescendants(batch, user, pathRegExp, newPagePathPrefix, shouldUseV4Process);
           logger.debug(`Adding pages progressing: (count=${count})`);
         }