Explorar el Código

remove unnecessary function

= hace 6 años
padre
commit
c2282f2748
Se han modificado 1 ficheros con 0 adiciones y 10 borrados
  1. 0 10
      src/server/service/export.js

+ 0 - 10
src/server/service/export.js

@@ -350,16 +350,6 @@ class ExportService {
     return zipFile;
   }
 
-  /**
-   * create markdown file from String
-   * @param {String} exportData String will write in file
-   * @param {String} fileName filename without extension
-   */
-  cretaeMarkdownFile(exportData, fileName) {
-    const filePath = path.join(this.baseDir, `${fileName}.md`);
-    fs.writeFile(filePath, exportData, (err) => {});
-  }
-
 }
 
 module.exports = ExportService;