Skip to content

fix(scoop-virustotal): Fix args parsing#5957

Closed
niheaven wants to merge 1 commit intodevelopfrom
fix-virustotal
Closed

fix(scoop-virustotal): Fix args parsing#5957
niheaven wants to merge 1 commit intodevelopfrom
fix-virustotal

Conversation

@niheaven
Copy link
Copy Markdown
Member

@niheaven niheaven commented May 11, 2024

Description

Fix bugs when using -a or --all.

But there are still bugs related to JSON parsing, caused by #5921 @chawyehsu JSON has enclosed by [] and could not accessed by $.malicious (

[int]$malicious = json_path $stats '$.malicious'
[int]$suspicious = json_path $stats '$.suspicious'
[int]$timeout = json_path $stats '$.timeout'
[int]$undetected = json_path $stats '$.undetected'
)

Motivation and Context

How Has This Been Tested?

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.

@niheaven
Copy link
Copy Markdown
Member Author

niheaven commented Jul 8, 2024

@niheaven niheaven closed this Jul 8, 2024
@niheaven niheaven deleted the fix-virustotal branch July 22, 2024 14:59
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