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

npm handler fix #277

Merged
merged 1 commit into from
Oct 31, 2022
Merged

npm handler fix #277

merged 1 commit into from
Oct 31, 2022

Conversation

ashishvishal1
Copy link
Contributor

@ashishvishal1 ashishvishal1 commented Oct 19, 2022

In npm/handler.go file at two places, we were getting string interface as well as map[string] interface but the code was written assuming for only map[string] interface. So, added IF conditions for type checking.
Fixes #252
Signed-off-by: Ashish Vishal ashish.v.vishal@oracle.com

In npm/handler.go file at two places, we were getting string interface as well as map[string] interface but the code was written assuming for only map[string] interface. So, added IF conditions for type checking.
Fixes opensbom-generator#252
Signed-off-by: Ashish Vishal ashish.v.vishal@oracle.com
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.

panic: interface conversion: interface {} is string, not map[string]
2 participants