Shun Miyazawa 2 lat temu
rodzic
commit
9a3d6071d8
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      bin/data-migrations/src/migrations/custom.js

+ 2 - 0
bin/data-migrations/src/migrations/custom.js

@@ -6,6 +6,7 @@
 // processors for old format
 // processors for old format
 // ===========================================
 // ===========================================
 
 
+// processor for MIGRATION_FILE_NAME=custom, MIGRATION_TYPE=custom
 function customProcessor(body) {
 function customProcessor(body) {
   // ADD YOUR PROCESS HERE!
   // ADD YOUR PROCESS HERE!
   // https://github.com/weseek/growi/discussions/7180
   // https://github.com/weseek/growi/discussions/7180
@@ -21,6 +22,7 @@ function getProcessorArray(migrationType) {
     default:
     default:
       oldFormatProcessors = [];
       oldFormatProcessors = [];
   }
   }
+  return oldFormatProcessors;
 }
 }
 
 
 module.exports = getProcessorArray;
 module.exports = getProcessorArray;