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

Add warning when you try to pass static params in "execute-command" #151

Closed
gdubicki opened this issue Jul 10, 2017 · 2 comments
Closed

Comments

@gdubicki
Copy link
Contributor

I tried to pass static params in "execute-command" like this:

"execute-command": "my_script.py some_static_param"

...instead of correctly doing it like this:

"execute-command": "my_script.py",
"pass-arguments-to-command": [ "source": "string", "name": "some_static_param" ]

It would be nice if webhook could provide tips with common/obvious problems in configuration such as this one.

In this case it could be triggered after detecting whitespace in "execute-command".

@adnanh
Copy link
Owner

adnanh commented Jul 17, 2017

I would gladly accept a good PR for this feature :-)

@adnanh
Copy link
Owner

adnanh commented Sep 14, 2017

Fixed in v2.6.6 by #164

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

2 participants