Add esphome_fork to dev container only (#41)
This commit is contained in:
committed by
GitHub
Unverified
parent
8d6b093929
commit
be03c6c8e7
@@ -39,7 +39,10 @@ def main(args):
|
||||
json.dump(conf, f, indent=2, sort_keys=True)
|
||||
|
||||
for file_, conf_ in copyf.items():
|
||||
copyfile(templ / file_, dir_ / file_)
|
||||
if Path.exists(templ / channel.value / file_):
|
||||
copyfile(templ / channel.value / file_, dir_ / file_)
|
||||
else:
|
||||
copyfile(templ / file_, dir_ / file_)
|
||||
|
||||
path = dir_ / "FILES ARE GENERATED DO NOT EDIT"
|
||||
with open(path, "w") as f:
|
||||
|
||||
Reference in New Issue
Block a user