Browse Source

Add missing returncode to exit()

pull/13930/head
Zach White 2 years ago
parent
commit
4471ae4d33
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/python/qmk/info.py

+ 1
- 1
lib/python/qmk/info.py View File

@ -71,7 +71,7 @@ def info_json(keyboard):
except jsonschema.ValidationError as e:
json_path = '.'.join([str(p) for p in e.absolute_path])
cli.log.error('Invalid API data: %s: %s: %s', keyboard, json_path, e.message)
exit()
exit(1)
# Make sure we have at least one layout
if not info_data.get('layouts'):


Loading…
Cancel
Save