소스 검색

Merge branch 'imprv/revert-deleted-pages' into imprv/normalize-legacy-pages

Taichi Masuyama 4 년 전
부모
커밋
f6eb4883e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/src/server/service/page.ts

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

@@ -1836,7 +1836,7 @@ class PageService {
       objectMode: true,
       async write(pages, encoding, callback) {
         // make list to create empty pages
-        const parentPathsSet = new Set(pages.map(page => pathlib.dirname(page.path)));
+        const parentPathsSet = new Set<string>(pages.map(page => pathlib.dirname(page.path)));
         const parentPaths = Array.from(parentPathsSet);
 
         // fill parents with empty pages