From 1b29028cf2099c2c9d8ab76565856d5d71db75b5 Mon Sep 17 00:00:00 2001 From: azlam-abdulsalam Date: Tue, 27 Feb 2024 12:32:46 +1100 Subject: [PATCH] fix(flows): add additional text when no flows are found in a package --- .../core/package/deploymentCustomizers/FlowActivator.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/sfp-cli/src/core/package/deploymentCustomizers/FlowActivator.ts b/packages/sfp-cli/src/core/package/deploymentCustomizers/FlowActivator.ts index eea7d0b03..189dd4cb1 100644 --- a/packages/sfp-cli/src/core/package/deploymentCustomizers/FlowActivator.ts +++ b/packages/sfp-cli/src/core/package/deploymentCustomizers/FlowActivator.ts @@ -62,6 +62,14 @@ export default class FlowActivator implements DeploymentCustomizer { await this.deactivateFlow(flowsToBeDeactivated, sfpOrg, logger); } } + else + { + SFPLogger.log( + `No flows found in the package, skipping flow activation/deactivation`, + LoggerLevel.INFO, + logger + ); + } return { deploy_id: `000000`,