Skip to content

Commit

Permalink
fix: correct behavior of --yes on push when missing env var (aws-ampl…
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle authored and akshbhu committed Aug 15, 2021
1 parent 63d99fd commit fb00633
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const askEnvironmentVariableCarryOut = async (
};

export const ensureEnvironmentVariableValues = async (context: $TSContext) => {
const yesFlagSet = context?.exeInfo?.inputParams?.yes;
const yesFlagSet = context?.exeInfo?.inputParams?.yes || context?.input?.options?.yes;
const currentEnvName = stateManager.getLocalEnvInfo()?.envName;
const teamProviderInfo = stateManager.getTeamProviderInfo(undefined, {
throwIfNotExist: false,
Expand Down

0 comments on commit fb00633

Please sign in to comment.