File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
packages/core/src/stepFunctions Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,12 @@ async function registerStepFunctionCommands(
107107 'arn:aws:states:us-east-1:123456789012:execution:MyStateMachine:12345678-1234-1234-1234-123456789012' ,
108108 } )
109109
110- if ( arn ) {
111- if ( validate ( arn ) ) {
112- await ExecutionDetailProvider . openExecutionDetails ( arn )
113- } else {
114- void vscode . window . showErrorMessage (
115- 'Invalid ARN format. Please provide a valid Step Functions execution ARN (e.g., arn:aws:states:us-east-1:123456789012:execution:MyStateMachine:12345678-1234-1234-1234-123456789012)'
116- )
117- }
110+ if ( validate ( arn ) ) {
111+ await ExecutionDetailProvider . openExecutionDetails ( arn ! )
112+ } else {
113+ void vscode . window . showErrorMessage (
114+ 'Invalid ARN format. Please provide a valid Step Functions execution ARN (e.g., arn:aws:states:us-east-1:123456789012:execution:MyStateMachine:12345678-1234-1234-1234-123456789012)'
115+ )
118116 }
119117 } )
120118 )
You can’t perform that action at this time.
0 commit comments