Skip to content

Commit 726952d

Browse files
committed
formate HttpProtocolGeneratorUtils
1 parent 0151159 commit 726952d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpProtocolGeneratorUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ static void generateCollectBodyString(GenerationContext context) {
226226

227227
writer.addImport("SerdeContext", "__SerdeContext", "@aws-sdk/types");
228228
writer.write("// Encode Uint8Array data into string with utf-8.");
229-
writer.write("const collectBodyString = (streamBody: any, context: __SerdeContext): Promise<string> => " +
230-
"collectBody(streamBody, context).then(body => context.utf8Encoder(body))");
229+
writer.write("const collectBodyString = (streamBody: any, context: __SerdeContext): Promise<string> => "
230+
+ "collectBody(streamBody, context).then(body => context.utf8Encoder(body))");
231231
writer.write("");
232232
}
233233

0 commit comments

Comments
 (0)