diff options
author | Pablo MartÃnez <58857054+elpekenin@users.noreply.github.com> | 2023-12-13 23:19:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 09:19:49 +1100 |
commit | 9c93f3603454e8a81ba1b760c4247ecfb2ba0c2b (patch) | |
tree | 3aadba9ebfa286b6bd69ad404924e384f3fbc2a6 /lib/python/qmk/cli | |
parent | 68afa1ef0644b8000b936e3c43ba7431007a0844 (diff) |
[Bugfix] `qmk {compile, flash}` return code (#22639)
Diffstat (limited to 'lib/python/qmk/cli')
-rwxr-xr-x | lib/python/qmk/cli/compile.py | 2 | ||||
-rw-r--r-- | lib/python/qmk/cli/flash.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/compile.py b/lib/python/qmk/cli/compile.py index 03ee743505..4c36dec3e7 100755 --- a/lib/python/qmk/cli/compile.py +++ b/lib/python/qmk/cli/compile.py @@ -80,4 +80,4 @@ def compile(cli): return False target.configure(parallel=cli.config.compile.parallel, clean=cli.args.clean, compiledb=cli.args.compiledb) - target.compile(cli.args.target, dry_run=cli.args.dry_run, **envs) + return target.compile(cli.args.target, dry_run=cli.args.dry_run, **envs) diff --git a/lib/python/qmk/cli/flash.py b/lib/python/qmk/cli/flash.py index 5df31e4781..c570b49ebe 100644 --- a/lib/python/qmk/cli/flash.py +++ b/lib/python/qmk/cli/flash.py @@ -113,4 +113,4 @@ def flash(cli): return False target.configure(parallel=cli.config.flash.parallel, clean=cli.args.clean) - target.compile(cli.args.bootloader, dry_run=cli.args.dry_run, **envs) + return target.compile(cli.args.bootloader, dry_run=cli.args.dry_run, **envs) |