Fix showing only error messages.

This commit is contained in:
2023-06-18 22:00:59 +03:00
parent 7f8c776eb3
commit 62743cc3b2
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -48,9 +48,11 @@ def tags(
"""
if namespace is None:
console.print(f"[red b][ERROR] Please, give the namespace name!!![/]")
return
if namespace is None:
console.print(f"[red b][ERROR] Please, give the repository name!!![/]")
return
headers_config = HeadersConfig()
fetcher = ApiFetcher(headers_config)
+1
View File
@@ -42,6 +42,7 @@ def all(
"""
if namespace is None:
console.print(f"[red b][ERROR] Please, give the namespace name!!![/]")
return
headers_config = HeadersConfig()
fetcher = ApiFetcher(headers_config)