Improve update.py
This commit is contained in:
@@ -78,7 +78,7 @@ def main():
|
|||||||
return
|
return
|
||||||
|
|
||||||
subprocess.run(['hub', 'add', *filenames], check=True)
|
subprocess.run(['hub', 'add', *filenames], check=True)
|
||||||
diff = subprocess.run(['hub', 'diff', '--stat', '--cached', *filenames],
|
diff = subprocess.run(['hub', 'diff', '--stat', '--cached', '*.json'],
|
||||||
check=True,
|
check=True,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
encoding='utf-8').stdout
|
encoding='utf-8').stdout
|
||||||
|
|||||||
Reference in New Issue
Block a user