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(bin_match_json): check variable type before using #6150

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Orion-zhen
Copy link

Description

To check the type of RootElement, if it's an array, then walk through all elements inside. Or it's an object type, run the original code.

Motivation and Context

Closes #issue6140

How Has This Been Tested?

I ran my simple test in:

  • Windows version: 11
  • OS architecture: 64bit
  • PowerShell version: 7.4.5

Without my commit, the scoop search qqnt shows this:

image

With my commit, the scoop search qqnt shows this:

image

Displayed in one picture:

image

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

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.

1 participant