mirror of
https://github.com/docmost/docmost.git
synced 2025-11-10 04:12:05 +10:00
cleanup
This commit is contained in:
@ -35,15 +35,11 @@ export function getFileTaskFolderPath(
|
||||
/**
|
||||
* Extracts a ZIP archive.
|
||||
*/
|
||||
export async function extractZip(source: string, target: string): Promise<void> {
|
||||
const logFinal = createMemoryTracker();
|
||||
try {
|
||||
await extractZipInternal(source, target, true);
|
||||
logFinal('end');
|
||||
} catch (err) {
|
||||
logFinal('error');
|
||||
throw err;
|
||||
}
|
||||
export async function extractZip(
|
||||
source: string,
|
||||
target: string,
|
||||
): Promise<void> {
|
||||
await extractZipInternal(source, target, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user