refactor: adapt barg and flow

This commit is contained in:
Tomas Mirchev 2025-11-03 06:51:37 +02:00
parent f1b0fd94fb
commit 27ec787416
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 577209f5e24190b5e1c5bc9f2742159704bbc467
Subproject commit fe7f293734dbf76db94ff8ec426225685acb3dcf

View File

@ -63,8 +63,8 @@ def get_environment_packages(config, env, search_package=None):
if not isinstance(link_from, str) or not isinstance(link_to, str):
raise ValueError("`link` should follow the structure: `{ from: str, to: str }`")
if len(link_from.split("/")) != 2:
raise ValueError("`link.from` should be '<env>/<package>'")
# if len(link_from.split("/")) != 2:
# raise ValueError("`link.from` should be '<env>/<package>'")
package["link"] = {
"from": Path(CONFIG_DIR / link_from).expanduser(),