Taichi Masuyama 4 лет назад
Родитель
Сommit
f1df713084

+ 1 - 1
packages/app/src/server/service/import.js

@@ -494,7 +494,7 @@ class ImportService {
    */
   validate(meta) {
     if (meta.version !== this.crowi.version) {
-      // throw new Error('the version of this growi and the growi that exported the data are not met');
+      throw new Error('the version of this growi and the growi that exported the data are not met');
     }
 
     // TODO: check if all migrations are completed

+ 0 - 1
packages/app/src/server/service/page.js

@@ -1,4 +1,3 @@
-import RE2 from 're2';
 import { pagePathUtils } from '@growi/core';
 
 import loggerFactory from '~/utils/logger';