Skip to content

Commit

Permalink
fix(deploy): fix blank logger being printed during prepare by deploy …
Browse files Browse the repository at this point in the history
…command
  • Loading branch information
azlam-abdulsalam committed Jan 17, 2024
1 parent d450bb6 commit 3d2bfba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sfp-cli/src/impl/deploy/DeployImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,9 @@ export default class DeployImpl {

private displayRetryHeader(isRetryOnFailure: boolean, count: number) {
if (isRetryOnFailure && count > 1) {
SFPLogger.printHeaderLine('',COLOR_HEADER,LoggerLevel.INFO);
SFPLogger.printHeaderLine('',COLOR_HEADER,LoggerLevel.INFO,this.props.logger);
SFPLogger.log(`Retrying On Failure Attempt: ${count}`, LoggerLevel.INFO, this.props.logger);
SFPLogger.printHeaderLine('',COLOR_HEADER,LoggerLevel.INFO);
SFPLogger.printHeaderLine('',COLOR_HEADER,LoggerLevel.INFO,this.props.logger);
}
}

Expand Down Expand Up @@ -428,7 +428,7 @@ export default class DeployImpl {
}

if (alwaysDeployMessage) SFPLogger.log(alwaysDeployMessage, LoggerLevel.INFO, this.props.logger);
SFPLogger.printHeaderLine('',COLOR_HEADER,LoggerLevel.INFO);
SFPLogger.printHeaderLine('',COLOR_HEADER,LoggerLevel.INFO,this.props.logger);
}

private displayTestInfoHeader(sfpPackage: SfpPackage) {
Expand Down

0 comments on commit 3d2bfba

Please sign in to comment.