feat(readme-generator/regen_readme_in_batch): make debug output more readable
This commit is contained in:
parent
1d077fc3a2
commit
44aa5fc878
1 changed files with 2 additions and 0 deletions
|
@ -37,7 +37,9 @@ async def git(cmd, in_folder=None):
|
||||||
|
|
||||||
async def regen_readme(repository, branch):
|
async def regen_readme(repository, branch):
|
||||||
|
|
||||||
|
print()
|
||||||
print(f"{repository} -> branch '{branch}'")
|
print(f"{repository} -> branch '{branch}'")
|
||||||
|
print("=" * len(f"{repository} -> branch '{branch}'"))
|
||||||
|
|
||||||
with tempfile.TemporaryDirectory() as folder:
|
with tempfile.TemporaryDirectory() as folder:
|
||||||
await git(["clone", f"https://{login}:{token}@github.com/{repository}", "--single-branch", "--branch", branch, folder])
|
await git(["clone", f"https://{login}:{token}@github.com/{repository}", "--single-branch", "--branch", branch, folder])
|
||||||
|
|
Loading…
Reference in a new issue