From f5bc664f7141706ffe888821d3e94cfb4eb635e8 Mon Sep 17 00:00:00 2001 From: Jim Allanson Date: Tue, 6 Oct 2020 16:22:56 +0100 Subject: [PATCH] (fix) fix typo chageset -> changeset --- src/deploy.ts | 8 ++++---- src/main.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/deploy.ts b/src/deploy.ts index 7abafff..d63baa3 100644 --- a/src/deploy.ts +++ b/src/deploy.ts @@ -55,7 +55,7 @@ export async function updateStack( stack: Stack, params: CreateChangeSetInput, noEmptyChangeSet: boolean, - noExecuteChageSet: boolean, + noExecuteChangeSet: boolean, noDeleteFailedChangeSet: boolean ): Promise { core.debug('Creating CloudFormation Change Set') @@ -79,7 +79,7 @@ export async function updateStack( ) } - if (noExecuteChageSet) { + if (noExecuteChangeSet) { core.debug('Not executing the change set') return stack.StackId } @@ -123,7 +123,7 @@ export async function deployStack( cfn: aws.CloudFormation, params: CreateStackInput, noEmptyChangeSet: boolean, - noExecuteChageSet: boolean, + noExecuteChangeSet: boolean, noDeleteFailedChangeSet: boolean ): Promise { const stack = await getStack(cfn, params.StackName) @@ -158,7 +158,7 @@ export async function deployStack( } }, noEmptyChangeSet, - noExecuteChageSet, + noExecuteChangeSet, noDeleteFailedChangeSet ) } diff --git a/src/main.ts b/src/main.ts index d9cb638..c023473 100644 --- a/src/main.ts +++ b/src/main.ts @@ -46,7 +46,7 @@ export async function run(): Promise { const noEmptyChangeSet = !!+core.getInput('no-fail-on-empty-changeset', { required: false }) - const noExecuteChageSet = !!+core.getInput('no-execute-changeset', { + const noExecuteChangeSet = !!+core.getInput('no-execute-changeset', { required: false }) const noDeleteFailedChangeSet = !!+core.getInput( @@ -119,7 +119,7 @@ export async function run(): Promise { cfn, params, noEmptyChangeSet, - noExecuteChageSet, + noExecuteChangeSet, noDeleteFailedChangeSet ) core.setOutput('stack-id', stackId || 'UNKNOWN')