diff --git a/packages/amplify-migration/src/app_auth_definition_fetcher.test.ts b/packages/amplify-migration/src/app_auth_definition_fetcher.test.ts index ebfb83945b..91f5f121f0 100644 --- a/packages/amplify-migration/src/app_auth_definition_fetcher.test.ts +++ b/packages/amplify-migration/src/app_auth_definition_fetcher.test.ts @@ -1,6 +1,6 @@ import { CognitoIdentityProviderClient, DescribeUserPoolCommand, ListGroupsCommand } from '@aws-sdk/client-cognito-identity-provider'; import { CognitoIdentityClient, GetIdentityPoolRolesCommand, ListIdentityPoolsCommand } from '@aws-sdk/client-cognito-identity'; -import { CloudFormationClient, DescribeStackResourcesCommand, DescribeStacksCommand } from '@aws-sdk/client-cloudformation'; +import { CloudFormationClient, DescribeStackResourcesCommand } from '@aws-sdk/client-cloudformation'; import { AmplifyClient, ListBackendEnvironmentsCommand } from '@aws-sdk/client-amplify'; import { GetObjectCommand, S3Client } from '@aws-sdk/client-s3'; diff --git a/packages/amplify-migration/src/app_functions_definition_fetcher.ts b/packages/amplify-migration/src/app_functions_definition_fetcher.ts index abb6adc9d2..350837c7a9 100644 --- a/packages/amplify-migration/src/app_functions_definition_fetcher.ts +++ b/packages/amplify-migration/src/app_functions_definition_fetcher.ts @@ -38,7 +38,6 @@ export class AppFunctionsDefinitionFetcher { const authValues: AuthConfig | undefined = Object.values(auth)[0] as AuthConfig; - // auth triggers if (auth && authValues && authValues.dependsOn) { for (const env of authValues.dependsOn) {