mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
Avoid creating the backup folder if assets are not transfered
This commit is contained in:
parent
1b8a5a7866
commit
fff1cd3933
@ -727,6 +727,9 @@ class TransferEngine<
|
||||
|
||||
async transferAssets(): Promise<void> {
|
||||
const stage: TransferStage = 'assets';
|
||||
if (this.shouldSkipStage(stage)) {
|
||||
return;
|
||||
}
|
||||
|
||||
const source = await this.sourceProvider.createAssetsReadStream?.();
|
||||
const destination = await this.destinationProvider.createAssetsWriteStream?.();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user