File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import { CodeLens , Position , Range } from 'vscode-languageserver' ;
22
33const 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
88const 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 } ,
You can’t perform that action at this time.
0 commit comments