function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Laura MunroLaura Munro 

What happens when you click 'cancel' on a SFDX command in VSCode?

Hello,

I am wondering exactly what happens when you 'cancel' a DX command run in VSCode using the button in the UI, e.g.:

Screenshot of SFDX in VSCode

If it is DEPLOYING changes - will it revert any changes already made? Could it be possible that some of the changes may have already been applied to an org?


Hoping someone can answer for me. Cheers
 
@anilbathula@@anilbathula@
Hi Laura,

The "cancel" will abort the current opertaion which you are performing.
Ex: when you are deploying changes to source org ,you click cancel button before its successful.
The operation case will be aborted and no changes are commited to source org.

Thanks
Anil.b