diff --git a/src/cloudStorage.ts b/src/cloudStorage.ts index 48ad8a8..25876f4 100644 --- a/src/cloudStorage.ts +++ b/src/cloudStorage.ts @@ -291,6 +291,12 @@ export class CloudStorage implements CommonStorage { `combineFiles reached max recursion depth of ${MAX_RECURSION_DEPTH}`, ) const { logger, debug } = this.cfg + if (filePaths.length === 0) { + if (debug) { + logger.log(`[${currentRecursionDepth}] Nothing to compose, returning early!`) + } + return + } if (debug) { logger.log(