diff --git a/server/utils/comicBookExtractors.js b/server/utils/comicBookExtractors.js index be60d0ff..9c18ebdd 100644 --- a/server/utils/comicBookExtractors.js +++ b/server/utils/comicBookExtractors.js @@ -1,12 +1,11 @@ const Path = require('path') -const fs = require('../libs/fsExtra') const os = require('os') +const unrar = require('node-unrar-js') const Logger = require('../Logger') -const { isWritable } = require('./fileUtils') - +const fs = require('../libs/fsExtra') const StreamZip = require('../libs/nodeStreamZip') const Archive = require('../libs/libarchive/archive') -const unrar = require('node-unrar-js') +const { isWritable } = require('./fileUtils') class AbstractComicBookExtractor { constructor(comicPath) { diff --git a/server/utils/parsers/parseComicMetadata.js b/server/utils/parsers/parseComicMetadata.js index 7ed0d1f5..38a41b51 100644 --- a/server/utils/parsers/parseComicMetadata.js +++ b/server/utils/parsers/parseComicMetadata.js @@ -1,10 +1,8 @@ const Path = require('path') -const globals = require('../globals') -const fs = require('../../libs/fsExtra') const Logger = require('../../Logger') -const Archive = require('../../libs/libarchive/archive') -const { xmlToJSON } = require('../index') const parseComicInfoMetadata = require('./parseComicInfoMetadata') +const globals = require('../globals') +const { xmlToJSON } = require('../index') const { createComicBookExtractor } = require('../comicBookExtractors.js') /**