-
Notifications
You must be signed in to change notification settings - Fork 105
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
fix: ensure imageNames are not empty strings #303
Conversation
Note the previously signed CLA is not valid for this code contribution. |
This PR is idle because it has been open for 14 days with no activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm thanks for the contribution!
@Foxboron looks like you need to format with |
1c8d7ec
to
2677e40
Compare
In Typescript/Javascript an empty string split on newline is going to produce an array with an empty string. => "".split('\n') [""] This causes the action to produce a warning, unless `pull-images` is set to false. Failed to get dockerfile path for image : Error: The process '/usr/bin/docker' failed with exit code 1 Filtering the list to remove any zero-length strings from the array solves this issue. Signed-off-by: Morten Linderud <[email protected]>
2677e40
to
0e2f65c
Compare
Done, but I'll reiterate that the green checkmark from the CLA bot is not applicable for this commit. |
@microsoft-github-policy-service rerun |
do you mean because of the minimum line/file requirements? |
Ah, if that is the portion that triggers then that is fine. I thought I had singed it for my personal contributors at some point and can't tell form the check why it was green. Feel free to merge, thanks :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
In Typescript/Javascript an empty string split on newline is going to produce an array with an empty string.
This causes the action to produce a warning, unless
pull-images
is set to false.Filtering the list to remove any zero-length strings from the array solves this issue.