Explorar o código

Fixed condition

Taichi Masuyama %!s(int64=4) %!d(string=hai) anos
pai
achega
aa2ce70f43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/app/src/server/service/import.js

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

@@ -503,7 +503,7 @@ class ImportService {
    * @param {object} meta meta data from meta.json
    */
   validate(meta) {
-    if (false && meta.version !== this.crowi.version) {
+    if (meta.version !== this.crowi.version) {
       throw new Error('the version of this growi and the growi that exported the data are not met');
     }