From 52dda286e6e1acdf25b3b04b34cbb269009e6ae6 Mon Sep 17 00:00:00 2001 From: azlam-abdulsalam Date: Tue, 27 Feb 2024 01:29:09 +1100 Subject: [PATCH] fix(validate): remove duplicate logging of inclusive filter --- .../sfp-cli/src/impl/validate/ValidateImpl.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/sfp-cli/src/impl/validate/ValidateImpl.ts b/packages/sfp-cli/src/impl/validate/ValidateImpl.ts index b1539d4cc..32d31a4b2 100644 --- a/packages/sfp-cli/src/impl/validate/ValidateImpl.ts +++ b/packages/sfp-cli/src/impl/validate/ValidateImpl.ts @@ -436,9 +436,6 @@ export default class ValidateImpl implements PostDeployHook, PreDeployHook { this.logger, this.props, ); - if (buildProps.includeOnlyPackages) { - printIncludeOnlyPackages(buildProps.includeOnlyPackages); - } const buildImpl: BuildImpl = new BuildImpl(buildProps); const { generatedPackages, failedPackages } = await buildImpl.exec(); @@ -592,18 +589,6 @@ export default class ValidateImpl implements PostDeployHook, PreDeployHook { SFPLogger.printHeaderLine('',COLOR_HEADER,LoggerLevel.INFO); } - function printIncludeOnlyPackages(includeOnlyPackages: string[]) { - SFPLogger.log( - COLOR_KEY_MESSAGE( - `Build will include the below packages as per inclusive filter`, - ), - LoggerLevel.INFO, - ); - SFPLogger.log( - COLOR_KEY_VALUE(`${includeOnlyPackages.toString()}`), - LoggerLevel.INFO, - ); - } } private async fetchScratchOrgFromPool(