refactor: adapt barg and flow
This commit is contained in:
Submodule config/shared/barg-parser updated: 577209f5e2...fe7f293734
@@ -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):
|
if not isinstance(link_from, str) or not isinstance(link_to, str):
|
||||||
raise ValueError("`link` should follow the structure: `{ from: str, to: str }`")
|
raise ValueError("`link` should follow the structure: `{ from: str, to: str }`")
|
||||||
|
|
||||||
if len(link_from.split("/")) != 2:
|
# if len(link_from.split("/")) != 2:
|
||||||
raise ValueError("`link.from` should be '<env>/<package>'")
|
# raise ValueError("`link.from` should be '<env>/<package>'")
|
||||||
|
|
||||||
package["link"] = {
|
package["link"] = {
|
||||||
"from": Path(CONFIG_DIR / link_from).expanduser(),
|
"from": Path(CONFIG_DIR / link_from).expanduser(),
|
||||||
|
|||||||
Reference in New Issue
Block a user