Skip to content

Commit e7125f7

Browse files
authored
Merge pull request #417 from mikelolasagasti/go-1.24-printf
Fix: Ensure constant format strings in fmt and printf calls
2 parents fa118f5 + 3f71f22 commit e7125f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration_tests/internal/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func main() {
3939
func getEnvOrDie(name string) string {
4040
val, ok := os.LookupEnv(name)
4141
if !ok {
42-
fmt.Fprintf(os.Stderr, name+" could not be found in environment")
42+
fmt.Fprintln(os.Stderr, name, "could not be found in environment")
4343
os.Exit(1)
4444
}
4545
return val

0 commit comments

Comments
 (0)