fix: non-constant format string in call to fmt.Printf
This commit is contained in:
@@ -578,7 +578,7 @@ func SuppressOutput(f errfunc) error {
|
|||||||
os.Stdout = rescueStdout
|
os.Stdout = rescueStdout
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf(string(out[:]))
|
fmt.Print(string(out[:]))
|
||||||
}
|
}
|
||||||
|
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user