From 40bce6910174b138f4c77ec3960c4715a3c61564 Mon Sep 17 00:00:00 2001 From: AmmarKarachi Date: Mon, 22 Mar 2021 20:37:42 -0700 Subject: [PATCH] docs: updated comment --- .../src/provider-utils/awscloudformation/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 30515f4181f..4a4251d7a46 100644 --- a/packages/amplify-category-auth/src/provider-utils/awscloudformation/index.js +++ b/packages/amplify-category-auth/src/provider-utils/awscloudformation/index.js @@ -148,7 +148,7 @@ async function updateConfigOnEnvInit(context, category, service) { const isPullingOrEnv = context.input.command === 'pull' || (context.input.command === 'env' && context.input.subCommands && !context.input.subCommands.includes('add')); - // don't ask for env_specific params when creating a new env or pulling + // don't ask for env_specific params when checking out env or pulling srvcMetaData.inputs = srvcMetaData.inputs.filter( input => ENV_SPECIFIC_PARAMS.includes(input.key) && !Object.keys(currentEnvSpecificValues).includes(input.key) && !isPullingOrEnv, );