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

Potential bug in InTotoRun #124

Closed
shibumi opened this issue Sep 10, 2021 · 1 comment
Closed

Potential bug in InTotoRun #124

shibumi opened this issue Sep 10, 2021 · 1 comment
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@shibumi
Copy link
Collaborator

shibumi commented Sep 10, 2021

Description of issue or feature request:

byProducts, err := RunCommand(cmdArgs, runDir)

We are not handling an empty cmdArgs either as nil or empty string slice. We should check if our code still works with both and that we are not running into a panic.

Furthermore, we should add tests to cover these edge cases.

@adityasaky
Copy link
Member

Closed by #126.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants