Improve update.py
This commit is contained in:
parent
c1c33ae6f1
commit
ae0ce478d8
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user