File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -237,23 +237,26 @@ export default createPlugin(
237237 }
238238
239239 /////////////////////////////////////////////////////////////////////
240- window
241- . showInformationMessage ( "LocalStack is ready to start" , {
242- title : "Start LocalStack" ,
243- command : "localstack.start" ,
244- } )
245- . then ( ( selection ) => {
246- if ( selection ) {
247- commands . executeCommand ( selection . command ) ;
248- }
249- } ) ;
250-
240+ if ( ! cancellationToken . isCancellationRequested ) {
241+ window
242+ . showInformationMessage ( "LocalStack is ready to start" , {
243+ title : "Start LocalStack" ,
244+ command : "localstack.start" ,
245+ } )
246+ . then ( ( selection ) => {
247+ if ( selection ) {
248+ commands . executeCommand ( selection . command ) ;
249+ }
250+ } ) ;
251+ }
251252 telemetry . track ( {
252253 name : "setup_ended" ,
253254 payload : {
254255 namespace : "onboarding" ,
255256 steps : [ 1 , 2 , 3 ] ,
256- status : "COMPLETED" ,
257+ status : cancellationToken . isCancellationRequested
258+ ? "CANCELLED"
259+ : "COMPLETED" ,
257260 } ,
258261 } ) ;
259262 } ,
You can’t perform that action at this time.
0 commit comments