From 9c93f3603454e8a81ba1b760c4247ecfb2ba0c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Mart=C3=ADnez?= <58857054+elpekenin@users.noreply.github.com> Date: Wed, 13 Dec 2023 23:19:49 +0100 Subject: [Bugfix] `qmk {compile, flash}` return code (#22639) --- lib/python/qmk/cli/compile.py | 2 +- 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) -- cgit v1.2.3