mirror of
https://github.com/public-apis/public-apis.git
synced 2025-06-06 12:51:50 +02:00
Fix error message of max description length
This commit is contained in:
parent
22e22b3ce2
commit
9f0174fd96
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ def check_description(line_num: int, description: str) -> List[str]:
|
|||
|
||||
desc_length = len(description)
|
||||
if desc_length > max_description_length:
|
||||
err_msg = error_message(line_num, f'description should not exceed 100 characters (currently {desc_length})')
|
||||
err_msg = error_message(line_num, f'description should not exceed {max_description_length} characters (currently {desc_length})')
|
||||
err_msgs.append(err_msg)
|
||||
|
||||
return err_msgs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue