mirror of https://github.com/harness/drone.git
fix indentation for secret scan CLI output (#1201)
parent
5652ca7bb3
commit
8ed9457cd3
|
@ -69,9 +69,9 @@ func printScanSecretsFindings(
|
||||||
output.Messages = append(
|
output.Messages = append(
|
||||||
output.Messages,
|
output.Messages,
|
||||||
fmt.Sprintf(" %s", headerTxt),
|
fmt.Sprintf(" %s", headerTxt),
|
||||||
fmt.Sprintf(" Secret: %s", finding.Secret),
|
fmt.Sprintf(" Secret: %s", finding.Secret),
|
||||||
fmt.Sprintf(" Commit: %s", finding.Commit),
|
fmt.Sprintf(" Commit: %s", finding.Commit),
|
||||||
fmt.Sprintf(" Details: %s", finding.Description),
|
fmt.Sprintf(" Details: %s", finding.Description),
|
||||||
"", // add empty line for making it visually more consumable
|
"", // add empty line for making it visually more consumable
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue