refactor: adapt barg and flow
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user