feat: support for "power_gated" property in commit_id.json

This commit is contained in:
Uri Shaked
2023-10-27 19:44:47 +03:00
parent 1822432015
commit 765ae2df56
3 changed files with 9 additions and 1 deletions
+6 -1
View File
@@ -56,7 +56,12 @@ class Projects:
continue
project = Project(
index, commit_id_data["repo"], project_dir, args, is_user_project=False
index,
commit_id_data["repo"],
project_dir,
args,
is_user_project=False,
power_gated=commit_id_data.get("power_gate", False),
)
project.commit_id = commit_id_data["commit"]
project.sort_id = commit_id_data["sort_id"]