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

lage shouldn't forward all arguments to all running targets #745

Open
harunurhan opened this issue May 2, 2024 · 0 comments
Open

lage shouldn't forward all arguments to all running targets #745

harunurhan opened this issue May 2, 2024 · 0 comments

Comments

@harunurhan
Copy link
Member

Describe the bug
Lage forwards all arguments to all targets and this can break some targets

To Reproduce
Steps to reproduce the behavior:

  1. Create a target using tsc, let's call that build
  2. Run lage to trigger this build target with -- --foo=bar
  3. tsc fails because lage forwards --foo=bar to tsc which complains that --foo is unknown argument

Expected behavior
It should be possible to define which arguments are forwarded to which targets

Environment/Troubleshooting
N/A

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

No branches or pull requests

1 participant