Skip to content

CmdPal: fix duplicated aliases in settings file#39462

Closed
zadjii-msft wants to merge 1 commit intomainfrom
dev/migrie/b/38817-duplicated-aliases
Closed

CmdPal: fix duplicated aliases in settings file#39462
zadjii-msft wants to merge 1 commit intomainfrom
dev/migrie/b/38817-duplicated-aliases

Conversation

@zadjii-msft
Copy link
Member

@zadjii-msft zadjii-msft commented May 15, 2025

This caused a bunch of reports:
* #38817
* #39460
* probably #39035
@zadjii-msft zadjii-msft added Needs-Review This Pull Request awaits the review of a maintainer. Product-Command Palette Refers to the Command Palette utility labels May 15, 2025
@zadjii-msft zadjii-msft linked an issue May 15, 2025 that may be closed by this pull request
{
if (existingAlias.CommandId == commandId)
{
return;
Copy link
Member

Choose a reason for hiding this comment

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

can you explain a bit why removing this duplicate check fixes duplicated aliases

Copy link
Member Author

Choose a reason for hiding this comment

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

WAIT A

okay thank you for the sanity check.

This doesn't!

This was actually already fixed in #38193. I just forgot that fix happened, commented out this block, didn't see the bug, and was like "damn I'm so talented".

I'll clean all these reports up.

@zadjii-msft zadjii-msft removed the Needs-Review This Pull Request awaits the review of a maintainer. label May 16, 2025
@zadjii-msft zadjii-msft deleted the dev/migrie/b/38817-duplicated-aliases branch May 16, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product-Command Palette Refers to the Command Palette utility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Duplicate CommandPalette setting.

2 participants