Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate selected env: if tool has envs defined and env is None -> should fail #60

Open
github-actions bot opened this issue Oct 28, 2023 · 0 comments

Comments

@github-actions
Copy link

Line: 26

) -> List[str]:
tool = search_by_name_or_alias(tools, cli_args.tool and cli_args.tool.value)
env = search_by_name_or_alias(envs, cli_args.env and cli_args.env.value)
# FIXME: validate selected env: if tool has envs defined and env is None -> should fail
tool = select_tool(tools, tool)
if tool.traced:
tracer().tracing(f"tool_{group_ref}", tool.name, value_alias=tool.alias)
env, tool_env_params = select_env(envs, tool.envs, env)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants