Skip to content

[CleanRepo] remove-hops doesn't handle monikers in redirect file #349

Open
@Mikejo5000

Description

@Mikejo5000

CleanRepo doesn't handle monikered redirects well. The following causes a "same key" error when there's another redirect with the same source_path but a different moniker value (vs-2022):

{
"source_path": "docs/install/visual-studio-build-numbers-and-release-dates.md",
"redirect_url": "/visualstudio/releases/2019/history#release-dates-and-build-numbers",
"redirect_document_id": false,
"monikers": [
"vs-2019"
]
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions