summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/python/qmk/cli/compile.py2
-rw-r--r--lib/python/qmk/cli/flash.py2
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)