Skip to content

Commit 308a3ca

Browse files
committed
Changes from node scripts/eslint_all_files --no-cache --fix
1 parent 60a6a75 commit 308a3ca

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/platform/plugins/shared/workflows_management/server/event_driven/filter_workflows_by_trigger_condition.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ export function workflowMatchesTriggerCondition(
3838

3939
const onBlock = matchingTrigger && 'on' in matchingTrigger ? matchingTrigger.on : undefined;
4040
const condition =
41-
onBlock &&
42-
typeof onBlock === 'object' &&
43-
onBlock !== null &&
44-
'condition' in onBlock
41+
onBlock && typeof onBlock === 'object' && onBlock !== null && 'condition' in onBlock
4542
? onBlock.condition
4643
: undefined;
4744
const conditionStr = typeof condition === 'string' ? condition.trim() : '';

0 commit comments

Comments
 (0)