-
Notifications
You must be signed in to change notification settings - Fork 45
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
refactor: tools upload flavors #219
Conversation
bc0cc35
to
541db81
Compare
1363c61
to
8e71e70
Compare
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.
Left a few nits, but overall the change looks good to me! Pre-approving to not block a later merge, I'll let you address those @tenthirtyam and will do another review then!
8e71e70
to
4b89195
Compare
return nil | ||
} | ||
|
||
errs := []error{} |
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.
Just to be sure, I would create this as a var
to have the returned slice be nil, that way you can compare the returned slice to nil
, as it will effectively be if no errors have been found.
That said, given there's only one error returned at a time, is there a reason this is a slice of errors instead of a single error?
4b89195
to
2e10918
Compare
Refactors to use `allowedToolsFlavorValues` for tools upload flavor options based on constants. Signed-off-by: Ryan Johnson <[email protected]>
2e10918
to
0c09a50
Compare
Description
Refactors to use
allowedToolsFlavorValues
for tools upload flavor options based on constants.Testing
✅ Standard
✅ Configuration