Skip to content

Commit

Permalink
Print the transition message as standard error (#2099)
Browse files Browse the repository at this point in the history
Signed-off-by: Yu ISHIKAWA <[email protected]>
  • Loading branch information
yu-iskw committed Sep 11, 2023
1 parent d5091cc commit 0fff268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tfsec/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ https://github.com/aquasecurity/tfsec/discussions/1994
`

func main() {
fmt.Print(transitionMsg)
fmt.Fprint(os.Stderr, transitionMsg)
if err := cmd.Root().Execute(); err != nil {
if err.Error() != "" {
fmt.Printf("Error: %s\n", err)
Expand Down

0 comments on commit 0fff268

Please sign in to comment.