Skip to content

Commit

Permalink
fix indentation for secret scan CLI output (#1201)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesHarness authored and Harness committed Apr 10, 2024
1 parent 5652ca7 commit 8ed9457
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/api/controller/githook/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ func printScanSecretsFindings(
output.Messages = append(
output.Messages,
fmt.Sprintf(" %s", headerTxt),
fmt.Sprintf(" Secret: %s", finding.Secret),
fmt.Sprintf(" Commit: %s", finding.Commit),
fmt.Sprintf(" Details: %s", finding.Description),
fmt.Sprintf(" Secret: %s", finding.Secret),
fmt.Sprintf(" Commit: %s", finding.Commit),
fmt.Sprintf(" Details: %s", finding.Description),
"", // add empty line for making it visually more consumable
)
}
Expand Down

0 comments on commit 8ed9457

Please sign in to comment.