zamis 5 лет назад
Родитель
Сommit
53c9086ac6
2 измененных файлов с 1 добавлено и 1 удалено
  1. 1 0
      src/server/service/attachment.js
  2. 0 1
      src/server/service/file-uploader/local.js

+ 1 - 0
src/server/service/attachment.js

@@ -2,6 +2,7 @@ const logger = require('@alias/logger')('growi:service:AttachmentService'); // e
 
 const fs = require('fs');
 
+
 /**
  * the service class for Attachment and file-uploader
  */

+ 0 - 1
src/server/service/file-uploader/local.js

@@ -32,7 +32,6 @@ module.exports = function(crowi) {
 
   lib.deleteFile = async function(attachment) {
     const filePath = getFilePathOnStorage(attachment);
-
     return lib.deleteFileByFilePath(filePath);
   };