Skip to content

Commit

Permalink
fix: correct behavior of --yes on push when missing env var (#7826)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle committed Jul 29, 2021
1 parent f3eae13 commit 36b807b
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 36b807b

Please sign in to comment.