Loading cmd/release_config/release_config_lib/util.go +4 −1 Original line number Diff line number Diff line Loading @@ -149,9 +149,12 @@ func DisableWarnings() { disableWarnings = true } // warnf will log to stdout if warnings are enabled. In make code, // stdout is redirected to a file, so the warnings will not be shown // in the terminal. func warnf(format string, args ...any) (n int, err error) { if !disableWarnings { return fmt.Fprintf(os.Stderr, format, args...) return fmt.Printf(format, args...) } return 0, nil } Loading Loading
cmd/release_config/release_config_lib/util.go +4 −1 Original line number Diff line number Diff line Loading @@ -149,9 +149,12 @@ func DisableWarnings() { disableWarnings = true } // warnf will log to stdout if warnings are enabled. In make code, // stdout is redirected to a file, so the warnings will not be shown // in the terminal. func warnf(format string, args ...any) (n int, err error) { if !disableWarnings { return fmt.Fprintf(os.Stderr, format, args...) return fmt.Printf(format, args...) } return 0, nil } Loading