mirror of
https://github.com/esphome/esphome.git
synced 2025-07-08 16:13:08 +01:00
Merge remote-tracking branch 'origin/dev' into nrf52_core
This commit is contained in:
.github/actions/build-image
CODEOWNERSesphome
components
api
bme68x_bsec2
bme68x_bsec2_i2c
display
improv_serial
lvgl
sml
core
script
tests/components/bme68x_bsec2_i2c
@ -292,10 +292,7 @@ CONFIG_NEWLIB_LIBC=y
|
||||
def get_binary(name: str, version: str) -> str:
|
||||
binary_file = f"{name}-{version}"
|
||||
try:
|
||||
# If no exception was raised, the command was successful
|
||||
result = subprocess.check_output(
|
||||
[binary_file, "-version"], stderr=subprocess.STDOUT
|
||||
)
|
||||
result = subprocess.check_output([binary_file, "-version"])
|
||||
return binary_file
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
Reference in New Issue
Block a user