refactor: adapt barg and flow

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

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(),