Skip to content

Commit d51f5b8

Browse files
committed
Fix codelens command and naming
1 parent 148bf7e commit d51f5b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/codeLens/StackActionsCodeLens.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { CodeLens, Position, Range } from 'vscode-languageserver';
22

33
const STACK_ACTION_TITLES = {
4-
DRY_RUN: 'Dry Run Deployment',
5-
DEPLOY: 'Deploy',
4+
DRY_RUN: 'Dry Run Template',
5+
DEPLOY: 'Deploy Template',
66
} as const;
77

88
const STACK_ACTION_COMMANDS = {
9-
VALIDATE: 'aws.cloudformation.api.validateTemplate',
9+
DRY_RUN: 'aws.cloudformation.api.dryRunTemplate',
1010
DEPLOY: 'aws.cloudformation.api.deployTemplate',
1111
} as const;
1212

@@ -18,7 +18,7 @@ export function getStackActionsCodeLenses(uri: string): CodeLens[] {
1818
range,
1919
command: {
2020
title: STACK_ACTION_TITLES.DRY_RUN,
21-
command: STACK_ACTION_COMMANDS.VALIDATE,
21+
command: STACK_ACTION_COMMANDS.DRY_RUN,
2222
arguments: [uri],
2323
},
2424
},

0 commit comments

Comments
 (0)