Skip to content

Commit

Permalink
Update actions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tommygonzaleza authored Jan 28, 2025
1 parent 2488fa4 commit a8bfc81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions breathecode/registry/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,12 @@ def process_asset_config(asset, config):
asset.with_solutions = True
asset.with_video = True

if "gitpod" in config:
if config["gitpod"] in ["True", "true", "1"]:
asset.gitpod = True
elif config["gitpod"] in ["False", "false", "0"]:
asset.gitpod = False

if "editor" in config:
if "agent" in config["editor"]:
asset.agent = config["editor"]["agent"]
Expand Down

0 comments on commit a8bfc81

Please sign in to comment.