Skip to content

Conversation

@pranavgaikwad
Copy link
Contributor

No description provided.

return provider.ProviderEvaluateResponse{}, fmt.Errorf("unable to get query info: %v", err)
}
// filepaths get rendered as a string and must be converted
if cond.Referenced.Filepaths != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it guaranteed to not be nil?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fabianvf In golang, len() implicitly returns 0 when slice is nil

Copy link
Contributor

@shawn-hurley shawn-hurley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the same local cha ge I haven't pushed up yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants