mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-03 05:53:15 +08:00
Debugging ci error
This commit is contained in:
parent
cd239ba369
commit
16e2bba5ee
@ -330,7 +330,12 @@ def main() -> None:
|
|||||||
print(f'{fname} is up to date.')
|
print(f'{fname} is up to date.')
|
||||||
else:
|
else:
|
||||||
if check:
|
if check:
|
||||||
print(f'{Clr.SRED}ERROR: file is out of date: {fname}{Clr.RST}')
|
print(f"{Clr.SRED}ERROR: file is out of date: '{fname}'.{Clr.RST}")
|
||||||
|
print(f'EXPECTED ===========================================\n'
|
||||||
|
f'{out}\n'
|
||||||
|
f'FOUND ==============================================\n'
|
||||||
|
f'{original}\n'
|
||||||
|
f'END COMPARE ========================================')
|
||||||
sys.exit(255)
|
sys.exit(255)
|
||||||
print(f'{Clr.SBLU}Updating: {fname}{Clr.RST}')
|
print(f'{Clr.SBLU}Updating: {fname}{Clr.RST}')
|
||||||
with open(fname, 'w') as outfile:
|
with open(fname, 'w') as outfile:
|
||||||
@ -361,7 +366,7 @@ def _write_manifest(manifest_path: str, all_targets: Set[str],
|
|||||||
else:
|
else:
|
||||||
if check:
|
if check:
|
||||||
print(f'{Clr.SRED}ERROR: file is out of date:'
|
print(f'{Clr.SRED}ERROR: file is out of date:'
|
||||||
f' {manifest_path}{Clr.RST}')
|
f" '{manifest_path}'.{Clr.RST}")
|
||||||
sys.exit(255)
|
sys.exit(255)
|
||||||
print(f'{Clr.SBLU}Updating: {manifest_path}{Clr.RST}')
|
print(f'{Clr.SBLU}Updating: {manifest_path}{Clr.RST}')
|
||||||
with open(manifest_path, 'w') as outfile:
|
with open(manifest_path, 'w') as outfile:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user