From f783caacde6cbf152c4e27d06f47eb2dedc45702 Mon Sep 17 00:00:00 2001 From: Anjan Nath Date: Wed, 13 May 2026 11:39:29 +0530 Subject: [PATCH] fix: append newline to end of output files --- pkg/provider/util/output/output.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/provider/util/output/output.go b/pkg/provider/util/output/output.go index 1c5d63c2b..0c1b4eb7c 100644 --- a/pkg/provider/util/output/output.go +++ b/pkg/provider/util/output/output.go @@ -22,7 +22,7 @@ func Write(stackResult auto.UpResult, destinationFolder string, results map[stri func writeOutput(stackResult auto.UpResult, outputkey, destinationFolder, destinationFilename string) error { value, ok := stackResult.Outputs[outputkey].Value.(string) if ok { - err := os.WriteFile(path.Join(destinationFolder, destinationFilename), []byte(value), 0600) + err := os.WriteFile(path.Join(destinationFolder, destinationFilename), []byte(value+"\n"), 0600) if err != nil { return err }