Skip to content

Commit

Permalink
Fix generate api (#13930)
Browse files Browse the repository at this point in the history
* Add missing returncode to exit()

* fix the aozora/hotswap vendor id
  • Loading branch information
skullydazed authored Aug 9, 2021
1 parent 5eb0e40 commit e6c171b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/aozora/hotswap/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xCATS
#define VENDOR_ID 0xCA75
#define PRODUCT_ID 0x4014
#define DEVICE_VER 0x0001
#define MANUFACTURER Salmon Cat Studio
Expand Down
2 changes: 1 addition & 1 deletion lib/python/qmk/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit e6c171b

Please sign in to comment.