refactor: adapt barg and flow
This commit is contained in:
parent
f1b0fd94fb
commit
27ec787416
@ -1 +1 @@
|
|||||||
Subproject commit 577209f5e24190b5e1c5bc9f2742159704bbc467
|
Subproject commit fe7f293734dbf76db94ff8ec426225685acb3dcf
|
||||||
@ -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(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user