Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handling for venv activations #108

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

karthiknadig
Copy link
Member

@karthiknadig karthiknadig commented Jan 9, 2025

Closes #106
Closes #107
Closes #50

@karthiknadig karthiknadig self-assigned this Jan 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/managers/builtin/venvUtils.ts:159

  • The code does not check if the 'deactivate' script exists before adding it to the 'shellDeactivation' map for 'TerminalShellType.unknown'. This could cause issues if the script is not present. Consider adding a check to ensure the 'deactivate' script exists.
shellDeactivation.set(TerminalShellType.unknown, [{ executable: 'deactivate' }]);

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@karthiknadig karthiknadig marked this pull request as ready for review January 9, 2025 23:50
@karthiknadig karthiknadig enabled auto-merge (squash) January 9, 2025 23:50
@vs-code-engineering vs-code-engineering bot added this to the January 2025 milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant