Sfoglia il codice sorgente

remove empty codes

yohei0125 4 anni fa
parent
commit
f4a7d54c0f
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      packages/app/src/server/service/page.ts

+ 0 - 2
packages/app/src/server/service/page.ts

@@ -1986,9 +1986,7 @@ class PageService {
       async write(pages, encoding, callback) {
       async write(pages, encoding, callback) {
         // make list to create empty pages
         // make list to create empty pages
         const parentPathsSet = new Set<string>(pages.map(page => pathlib.dirname(page.path)));
         const parentPathsSet = new Set<string>(pages.map(page => pathlib.dirname(page.path)));
-
         const parentPaths = Array.from(parentPathsSet);
         const parentPaths = Array.from(parentPathsSet);
-        console.log(parentPaths);
 
 
         // fill parents with empty pages
         // fill parents with empty pages
         await Page.createEmptyPagesByPaths(parentPaths, publicOnly);
         await Page.createEmptyPagesByPaths(parentPaths, publicOnly);