Skip to content

GetProject method sometime fails due to wrong type return by the depsdev API #51

Description

@zaibon

Describe the bug
Some project detail in the depsdev database have the wrong type in the ossFuzz object.
Example: https://api.deps.dev/v3alpha/projects/github.com%2Fklauspost%2Fcompress

lineCount and lineCoverCount are strings while they should be integer. This prevents the unmarshaling of this project by this library.

To Reproduce
Steps to reproduce the behavior:

  1. use the GetProject with argument "github.com/klauspost/compress"

Expected behavior
Get project details from the API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions