Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Bad parsing of cargo audit results in warnings being undefined #213

Open
3 tasks done
eutampieri opened this issue Aug 22, 2021 · 0 comments
Open
3 tasks done

Bad parsing of cargo audit results in warnings being undefined #213

eutampieri opened this issue Aug 22, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@eutampieri
Copy link

eutampieri commented Aug 22, 2021

Do the checklist before filing an issue:

Description

The workflow errors with Error: t is not iterable

Workflow code

https://github.com/MyK00L/cmsrs/actions/runs/1156620794/workflow

Paste that part of your workflow yaml file that causes the bug in here.

Alternatively you can remove that code block and insert direct link to your workflow file.
Ensure that link points to the specific commit, and not just to the master branch.

Action output


  {"database":{"advisory-count":340,"last-commit":"101d914e049f02bf7527aabbc32556461b2d5a46","last-updated":"2021-08-22T09:43:52Z"},"lockfile":{"dependency-count":201},"settings":{"target_arch":null,"target_os":null,"severity":null,"ignore":[],"informational_warnings":["unmaintained"],"package_scope":null},"vulnerabilities":{"found":false,"count":0,"list":[]},"warnings":{}}
9
No vulnerabilities were found
10
Warning: undefined warnings found!
11
Error: t is not iterable

Expected behavior

The test passes

Additional context

i think it may be related to the workaround for audit <0.12

@eutampieri eutampieri added the bug Something isn't working label Aug 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant