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

ensure shell integration is set when cwd is changed #234674

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

meganrogge
Copy link
Contributor

@meganrogge meganrogge commented Nov 26, 2024

fix #234670
fix #234671

without this change, this._activeShellIntegrations.get(instanceId) would be undefined so cwd wouldn't get set (or stored). each commit on this PR fixes it, but differently.

this._activeShellIntegrations.get(instanceId)?.setCwd(URI.revive(cwd));

@meganrogge meganrogge changed the title store initialCwd if it's set before shell integration is set ensure shell integration is set when cwd is changed Nov 26, 2024
@meganrogge meganrogge enabled auto-merge (squash) November 26, 2024 15:52
@meganrogge meganrogge merged commit 395ad8f into main Nov 26, 2024
8 checks passed
@meganrogge meganrogge deleted the merogge/fix-si-initial branch November 26, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants