Skip to content

Conversation

@Ajaykumbhare
Copy link
Contributor

Fixes #202267

In the 'renameWithQuickPick' function, added a condition to check if 'instance' is falsy or if 'instance.rename' is not defined before attempting to call it. This ensures that the 'rename' method is available on 'instance' before execution, preventing potential errors when 'resource' might not have the 'rename' property.

Screen.Recording.2024-01-12.at.12.02.38.AM.mov
@Ajaykumbhare Ajaykumbhare changed the title fix: terminal renaming not functioning as expected in editor area #202267 Jan 11, 2024
@andreamah andreamah assigned Tyriar and meganrogge and unassigned andreamah Jan 11, 2024
@meganrogge meganrogge added this to the December / January 2024 milestone Jan 11, 2024
Copy link
Contributor

@meganrogge meganrogge left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@meganrogge meganrogge enabled auto-merge January 11, 2024 23:07
@meganrogge meganrogge merged commit 24dfce5 into microsoft:main Jan 11, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

6 participants