Skip to content

Commit

Permalink
Fix markdown display on PR summary
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Oct 3, 2024
1 parent 1abe4c4 commit bd493ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`

## [5.0.10] 2024-10-03

- hardis:project:deploy:smart : Fix parsing of error strings
- hardis:project:deploy:smart : Fix markdown display on PR summary

## [5.0.9] 2024-10-03

Expand Down
1 change: 1 addition & 0 deletions src/common/gitProvider/utilsMarkdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export function deployErrorsToMarkdown(errorsAndTips: Array<any>) {
const errorMessage = (err as any)?.error?.message?.trim().includes("Error ")
? (err as any)?.error?.message
.trim()
.replace("| Error ", "")
.replace("Error ", "")
.replace(" ", "<br/>")
.trim()
Expand Down

0 comments on commit bd493ec

Please sign in to comment.