Commit Graph

2 Commits

Author SHA1 Message Date
aprp
1e28a8e150
fix(photon): skip empty CVE-IDs (#75)
* photon: display warning on invalid CVE-ID

* photon: CVE-ID: ignore on empty, error on invalid

* photon: update test cases

* photon: separate tests for empty and invalid CVE-ID
2021-03-10 12:40:38 +02:00
Masahiro Fujimura
69b1818a1c Add photon advisory (#24)
* Add photon advisory

* refactor(photon): rename

* refactor(photon): update errors

* test(photon): add require.NotNil

* fix(photon): use pkg name as dir name

* test(photon): add invalid photon_versions.json

* test(photon): add invalid CVE-ID

* test(photon): rename testdata file name

* fix(photon): rename function name

Co-authored-by: Teppei Fukuda <knqyf263@gmail.com>
2019-12-25 15:36:25 +02:00