Skip to content

Commit

Permalink
fix(validate): remove duplicate logging of inclusive filter
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Feb 26, 2024
1 parent cad86ce commit 52dda28
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/sfp-cli/src/impl/validate/ValidateImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 52dda28

Please sign in to comment.