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

Fix null exception and error when key is not present #1

Merged
merged 2 commits into from
Dec 15, 2021
Merged

Fix null exception and error when key is not present #1

merged 2 commits into from
Dec 15, 2021

Conversation

tiopramayudi
Copy link
Member

No description provided.

jsonpath.go Outdated
if len(s.args.([]int)) > 1 {
res := []interface{}{}
for _, x := range s.args.([]int) {
//fmt.Println("idx ---- ", x)
// fmt.Println("idx ---- ", x)

Choose a reason for hiding this comment

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

Can we remove all dead code?

@pradithya
Copy link

Overall lgtm

@tiopramayudi tiopramayudi merged commit 37eac26 into gojekfarm:master Dec 15, 2021
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.

2 participants