mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
parent
03819388e8
commit
9dd7fb1736
1 changed files with 4 additions and 1 deletions
|
@ -86,7 +86,10 @@ def main() -> None:
|
||||||
newvers, has_failures = asyncio.get_event_loop().run_until_complete(run(result_coro, runner_coro))
|
newvers, has_failures = asyncio.get_event_loop().run_until_complete(run(result_coro, runner_coro))
|
||||||
|
|
||||||
if options.ver_files is not None:
|
if options.ver_files is not None:
|
||||||
core.write_verfile(options.ver_files[1], newvers)
|
newverf = options.ver_files[1]
|
||||||
|
vers = core.read_verfile(newverf)
|
||||||
|
vers.update(newvers)
|
||||||
|
core.write_verfile(newverf, vers)
|
||||||
|
|
||||||
if args.failures and has_failures:
|
if args.failures and has_failures:
|
||||||
sys.exit(3)
|
sys.exit(3)
|
||||||
|
|
Loading…
Add table
Reference in a new issue