Skip to content

Commit 70124fe

Browse files
committed
fix(sidekick/rust): Really really remove EOF newline in template
In googleapis#4027 I inadvertently added a newline after the template part when I was trying to remove the newline after the template part.
1 parent 486f4ff commit 70124fe

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

internal/sidekick/rust/templates/common/client_method_samples/builder_fields.mustache

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ limitations under the License.
1616
Terminate each line in a comment so
1717
(a) we can read this code as each case is in a separate line,and
1818
(b) the newline is suppressed in the output to get tighter code.
19+
Use no newline at the end of file so the partials are all merged into a single line.
1920
}}{{#AIPStandardGetInfo}}{{!
2021
}}.set_{{ResourceNameRequestField.Codec.SetterName}}(resource_name){{!
2122
}}{{/AIPStandardGetInfo}}{{!
@@ -28,7 +29,4 @@ Terminate each line in a comment so
2829
}}{{#AIPStandardListInfo}}{{!
2930
}}.set_{{ParentRequestField.Codec.SetterName}}(parent){{!
3031
}}{{/AIPStandardListInfo}}{{!
31-
}}{{^IsAIPStandard}}/* set fields */{{/IsAIPStandard}}
32-
{{!
33-
Use no newline at the end of file so the the partials are all merged into a single line.
34-
}}
32+
}}{{^IsAIPStandard}}/* set fields */{{/IsAIPStandard}}

0 commit comments

Comments
 (0)