mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
scripts/set-alias-page.py: match the title and the original command (#20051)
This commit is contained in:
@@ -173,7 +173,10 @@ def set_alias_page(
|
||||
)
|
||||
|
||||
if (
|
||||
existing_locale_page_content.documentation_command
|
||||
existing_locale_page_content.title == page_content.title
|
||||
and existing_locale_page_content.original_command
|
||||
== page_content.original_command
|
||||
and existing_locale_page_content.documentation_command
|
||||
== page_content.documentation_command
|
||||
):
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user