mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
refactor: only try to apply excluded stream expressions when greater than 0
This commit is contained in:
@@ -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<string>(); // Track actual stream objects to be removed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user