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

Handle empty commands #79

Open
shubhbapna opened this issue Feb 3, 2023 · 0 comments
Open

Handle empty commands #79

shubhbapna opened this issue Feb 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@shubhbapna
Copy link
Collaborator

shubhbapna commented Feb 3, 2023

There empty line being included as part of commands so for example if we have:

pre: |
  cmd1
  cmd2

  cmd3

Then this would cause pre field to return as [cmd1, cmd2, "", cmd3] causing an error

[2023-02-02T16:09:05.139Z] # [COMMANDS] [kiegroup/kogito-examples] 
[2023-02-02T16:09:05.139Z] [INFO] NOT OK [Executed in 0.811592 ms]
[2023-02-02T16:09:05.139Z] [ERROR] Parameter 'commandLine' cannot be null or empty.
@shubhbapna shubhbapna added the bug Something isn't working label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant