[Bugfix] `qmk {compile, flash}` return code (#22639)
parent
68afa1ef06
commit
9c93f36034
|
@ -80,4 +80,4 @@ def compile(cli):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
target.configure(parallel=cli.config.compile.parallel, clean=cli.args.clean, compiledb=cli.args.compiledb)
|
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)
|
||||||
|
|
|
@ -113,4 +113,4 @@ def flash(cli):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
target.configure(parallel=cli.config.flash.parallel, clean=cli.args.clean)
|
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)
|
||||||
|
|
Loading…
Reference in New Issue