Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add newline between multi-files (#17835)
rebelicee3f578f9f306
diff --git a/action/command/file.go b/action/command/file.goindex 794b9d08e5..00629a0620 100644--- a/action/command/file.go+++ b/action/command/file.go@@ -48,6 +48,10 @@ func getReleaseFiles(w *world.World) ([]*v1pb.Release_File, string, error) {if _, err := h.Write(content); err != nil {return nil, "", errors.Wrapf(err, "failed to write file content")}+ // Add newline separator between files to prevent SQL statements from being concatenated+ if len(contents) > 0 {+ contents = append(contents, '\n')+ }contents = append(contents, content...)}return []*v1pb.Release_File{