mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #30232 from overleaf/ar/convert-clsi-to-es-modules
[clsi] convert to ES modules GitOrigin-RevId: fb7fa52cc8f678ee31be352e62a5dff95e88008b
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
const archiver = require('archiver')
|
||||
const OutputCacheManager = require('./OutputCacheManager')
|
||||
const OutputFileFinder = require('./OutputFileFinder')
|
||||
const Settings = require('@overleaf/settings')
|
||||
const { open } = require('node:fs/promises')
|
||||
const { NotFoundError } = require('./Errors')
|
||||
const logger = require('@overleaf/logger')
|
||||
import archiver from 'archiver'
|
||||
import OutputCacheManager from './OutputCacheManager.js'
|
||||
import OutputFileFinder from './OutputFileFinder.js'
|
||||
import Settings from '@overleaf/settings'
|
||||
import { open } from 'node:fs/promises'
|
||||
import { NotFoundError } from './Errors.js'
|
||||
import logger from '@overleaf/logger'
|
||||
|
||||
// NOTE: Updating this list requires a corresponding change in
|
||||
// * services/web/frontend/js/features/pdf-preview/util/file-list.ts
|
||||
@@ -20,7 +20,7 @@ function getContentDir(projectId, userId) {
|
||||
return `${Settings.path.outputDir}/${subDir}/`
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
async archiveFilesForBuild(projectId, userId, build) {
|
||||
logger.debug({ projectId, userId, build }, 'Will create zip file')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user