diff --git a/packages/core/src/main.ts b/packages/core/src/main.ts index 757a81bc..6cfa9a9d 100644 --- a/packages/core/src/main.ts +++ b/packages/core/src/main.ts @@ -2325,7 +2325,10 @@ ${errorStreams.length > 0 ? ` ❌ Errors : ${errorStreams.map((s) => ` details: {}, }, }; - if (this.userData.excludedStreamExpressions) { + if ( + this.userData.excludedStreamExpressions && + this.userData.excludedStreamExpressions.length > 0 + ) { const selector = new StreamSelector(); const streamsToRemove = new Set(); // Track actual stream objects to be removed