From 32ffd8ab22170ae9f7fbebede42c779731f0e838 Mon Sep 17 00:00:00 2001 From: rjabhi Date: Wed, 4 Dec 2024 10:58:37 -0800 Subject: [PATCH] fix(migrate-template-gen): remove extraneous return --- .../src/category-template-generator.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/amplify-migration-template-gen/src/category-template-generator.ts b/packages/amplify-migration-template-gen/src/category-template-generator.ts index 5df705d157..adc6a79bdd 100644 --- a/packages/amplify-migration-template-gen/src/category-template-generator.ts +++ b/packages/amplify-migration-template-gen/src/category-template-generator.ts @@ -78,11 +78,6 @@ class CategoryTemplateGenerator { const oAuthProviderCredentialsParam = Parameters.find((param) => param.ParameterKey === HOSTED_PROVIDER_CREDENTIALS_PARAMETER_NAME); assert(oAuthProviderCredentialsParam); oAuthProviderCredentialsParam.ParameterValue = JSON.stringify(oAuthValues); - return { - oldTemplate: oldGen1Template, - newTemplate: gen1TemplateWithConditionsResolved, - parameters: Parameters, - }; } return { oldTemplate: oldGen1Template,