mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 13:24:56 +02:00
Cleanup git auto-update
This commit is contained in:
@@ -239,10 +239,7 @@ def update_esphomelib_repo(config):
|
|||||||
if rc != 0:
|
if rc != 0:
|
||||||
_LOGGER.warn("Couldn't auto-update local git copy of esphomelib.")
|
_LOGGER.warn("Couldn't auto-update local git copy of esphomelib.")
|
||||||
return
|
return
|
||||||
stdout = stdout.strip()
|
safe_print(stdout.strip())
|
||||||
if 'Already up to date' in stdout:
|
|
||||||
return
|
|
||||||
safe_print(stdout)
|
|
||||||
|
|
||||||
|
|
||||||
def to_code(config):
|
def to_code(config):
|
||||||
|
|||||||
Reference in New Issue
Block a user