You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor to extract common command execution logic
Extracted the common code from ExecuteWithProjectProfile and ExecuteWithExecutableProfile into a new ExecuteCommand method. This method handles:
- Applying launch settings to the command
- Applying environment variables from command line
- Sending telemetry
- Setting up Ctrl-C handler
- Executing the command
This reduces code duplication and makes the execution flow clearer.
Co-authored-by: baronfel <573979+baronfel@users.noreply.github.com>
0 commit comments