Skip to content

Commit 0fff268

Browse files
authored
Print the transition message as standard error (#2099)
Signed-off-by: Yu ISHIKAWA <[email protected]>
1 parent d5091cc commit 0fff268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/tfsec/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ https://github.com/aquasecurity/tfsec/discussions/1994
2222
`
2323

2424
func main() {
25-
fmt.Print(transitionMsg)
25+
fmt.Fprint(os.Stderr, transitionMsg)
2626
if err := cmd.Root().Execute(); err != nil {
2727
if err.Error() != "" {
2828
fmt.Printf("Error: %s\n", err)

0 commit comments

Comments
 (0)