fix: non-constant format string in call to fmt.Printf

This commit is contained in:
Jose Diaz-Gonzalez
2025-07-08 21:28:57 -04:00
parent 93f12c59e6
commit 2c30c03ef7

View File

@@ -578,7 +578,7 @@ func SuppressOutput(f errfunc) error {
os.Stdout = rescueStdout
if err != nil {
fmt.Printf(string(out[:]))
fmt.Print(string(out[:]))
}
return err