diff --git a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpBindingProtocolGenerator.java b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpBindingProtocolGenerator.java index ddc2ccb4d09..c09ad20477e 100644 --- a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpBindingProtocolGenerator.java +++ b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpBindingProtocolGenerator.java @@ -368,7 +368,7 @@ private void writeHeaders( writer.write("...isSerializableHeaderValue($L) && { $S: $L },", memberLocation, binding.getLocationName(), headerValue); } - + // Handle assembling prefix headers. for (HttpBinding binding : bindingIndex.getRequestBindings(operation, Location.PREFIX_HEADERS)) { String memberLocation = "input." + symbolProvider.toMemberName(binding.getMember()); diff --git a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpProtocolGeneratorUtils.java b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpProtocolGeneratorUtils.java index 6fc314479b1..fb4b7fe11b1 100644 --- a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpProtocolGeneratorUtils.java +++ b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpProtocolGeneratorUtils.java @@ -226,8 +226,8 @@ static void generateCollectBodyString(GenerationContext context) { writer.addImport("SerdeContext", "__SerdeContext", "@aws-sdk/types"); writer.write("// Encode Uint8Array data into string with utf-8."); - writer.write("const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => " + - "collectBody(streamBody, context).then(body => context.utf8Encoder(body))"); + writer.write("const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => " + + "collectBody(streamBody, context).then(body => context.utf8Encoder(body))"); writer.write(""); } diff --git a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json index fe344a2da4b..912ddad1dae 100644 --- a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json +++ b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json @@ -13,7 +13,6 @@ "remove-js": "rimraf *.js && rimraf ./commands/*.js && rimraf ./models/*.js && rimraf ./protocols/*.js", "remove-maps": "rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./models/*.js.map && rimraf ./protocols/*.js.map", "test": "yarn build && jest --coverage --passWithNoTests", - "smoke-test": "npm run pretest && node ./test/smoke/index.spec.js", "build:es": "tsc -p tsconfig.es.json", "build": "yarn pretest && yarn build:es" },