diff --git a/src/commands/importExportEntities/entities/assetFolders.ts b/src/commands/importExportEntities/entities/assetFolders.ts index fb38e61f..9797db2f 100644 --- a/src/commands/importExportEntities/entities/assetFolders.ts +++ b/src/commands/importExportEntities/entities/assetFolders.ts @@ -9,6 +9,10 @@ export const assetFoldersEntity: EntityDefinition { + if (!fileFolders.length) { + return; + } + const projectFolders = await client .modifyAssetFolders() .withData(fileFolders.map(createPatchToAddFolder))