1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-16 10:12:21 +01:00

Support multiple configuration directories for update-all subcommand (#1925)

This commit is contained in:
Oxan van Leeuwen
2021-08-11 07:21:57 +02:00
committed by GitHub
parent 8c41fc2b1d
commit d436409153
4 changed files with 18 additions and 14 deletions

View File

@@ -67,7 +67,7 @@ def read_config(args):
CORE.ace = args.ace
f = data["file"]
if CORE.ace:
CORE.config_path = os.path.join(args.configuration[0], f)
CORE.config_path = os.path.join(args.configuration, f)
else:
CORE.config_path = data["file"]
vs = VSCodeResult()