chore: Refactor collection export to match import (#3483)
* chore: Refactor collection export to use FileOperations processor and task * Tweak options
This commit is contained in:
@@ -135,7 +135,7 @@ function safeAddFileToArchive(
|
||||
* @param zip JSZip object
|
||||
* @returns pathname of the temporary file where the zip was written to disk
|
||||
*/
|
||||
async function archiveToPath(zip: JSZip) {
|
||||
async function archiveToPath(zip: JSZip): Promise<string> {
|
||||
return new Promise((resolve, reject) => {
|
||||
tmp.file(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user