mondoohq/cnquery

We receive empty packages on Windows

Opened this issue · 1 comments

Describe the bug
packages on Windows generates an empty package:

pkg: {
  Arch: ""
  Format: "windows/app"
  Name: ""
  Origin: ""
  Purl: ""
  Status: ""
  Version: ""
  cpes.map: null
  files.map: null
}

To Reproduce
Steps to reproduce the behavior:

  1. On Windows, run packages
  2. Note the empty package included in the list

Expected behavior
This package or whatever it is should not end up in the list of packages.

I assume this is just an empty line in the JSON we parse.