From e1eb30084d35982f121904dc3929347158dc9d81 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 31 Jan 2023 18:47:25 +0100 Subject: [PATCH] Remove new line at start of test template Signed-off-by: Kristoffer Dalby --- cmd/gh-action-integration-generator/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/gh-action-integration-generator/main.go b/cmd/gh-action-integration-generator/main.go index 4cd767e..29dfd7b 100644 --- a/cmd/gh-action-integration-generator/main.go +++ b/cmd/gh-action-integration-generator/main.go @@ -14,8 +14,9 @@ import ( var ( jobFileNameTemplate = `test-integration-v2-%s.yaml` - jobTemplate = template.Must(template.New("jobTemplate").Parse(` -# DO NOT EDIT, generated with cmd/gh-action-integration-generator/main.go + jobTemplate = template.Must( + template.New("jobTemplate"). + Parse(`# DO NOT EDIT, generated with cmd/gh-action-integration-generator/main.go # To regenerate, run "go generate" in cmd/gh-action-integration-generator/ name: Integration Test v2 - {{.Name}}