From 88feff044180fb2e62c1b7a0bed7eab7d7679773 Mon Sep 17 00:00:00 2001 From: Edward Foyle Date: Wed, 23 Sep 2020 14:57:13 -0700 Subject: [PATCH] fix: ask correct questions on init env --- .../src/provider-utils/awscloudformation/index.js | 2 +- packages/amplify-e2e-tests/src/__tests__/env.test.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/amplify-category-auth/src/provider-utils/awscloudformation/index.js b/packages/amplify-category-auth/src/provider-utils/awscloudformation/index.js index d32702754ce..7dfae061d30 100644 --- a/packages/amplify-category-auth/src/provider-utils/awscloudformation/index.js +++ b/packages/amplify-category-auth/src/provider-utils/awscloudformation/index.js @@ -3,7 +3,7 @@ const open = require('open'); const _ = require('lodash'); const { getAuthResourceName } = require('../../utils/getAuthResourceName'); const { copyCfnTemplate, saveResourceParameters } = require('./utils/synthesize-resources'); -const { immutableAttributes: ENV_SPECIFIC_PARAMS, privateKeys } = require('./constants'); +const { ENV_SPECIFIC_PARAMS, privateKeys } = require('./constants'); const { getAddAuthHandler, getUpdateAuthHandler } = require('./handlers/resource-handlers'); const { supportedServices } = require('../supported-services'); diff --git a/packages/amplify-e2e-tests/src/__tests__/env.test.ts b/packages/amplify-e2e-tests/src/__tests__/env.test.ts index 672847e456b..d205be68646 100644 --- a/packages/amplify-e2e-tests/src/__tests__/env.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/env.test.ts @@ -127,7 +127,7 @@ describe('environment commands with Cognito Triggers', () => { }); it('init a project, pull environment', async () => { - await pullEnvironment(projRoot, {}); + await pullEnvironment(projRoot); const meta = getProjectMeta(projRoot); await validate(meta); }); @@ -155,7 +155,7 @@ describe('environment commands with recaptcha trigger', () => { await validate(meta); }); it('init a project, pull environment', async () => { - await pullEnvironment(projRoot, {}); + await pullEnvironment(projRoot); const meta = getProjectMeta(projRoot); await validate(meta); }); @@ -183,7 +183,7 @@ describe('environment commands with HostedUI params', () => { }); it('init a project, pull environment', async () => { - await pullEnvironment(projRoot, {}); + await pullEnvironment(projRoot); const meta = getProjectMeta(projRoot); await validate(meta); });