mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
refactor(readme-generator/regen_readme_in_batch): upsi, broke condition
This commit is contained in:
parent
2d3b6bf280
commit
2a55e79ca6
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ async def regen_readme(repository, branch):
|
|||
diff_not_empty = await asyncio.create_subprocess_shell(" ".join(["git", "diff", "HEAD", "--compact-summary"]), cwd=folder, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.STDOUT)
|
||||
diff_not_empty = await diff_not_empty.stdout.read()
|
||||
diff_not_empty = diff_not_empty.decode().strip()
|
||||
if diff_not_empty:
|
||||
if not diff_not_empty:
|
||||
print("nothing to do")
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue