diff options
author | sterni <sternenseemann@systemli.org> | 2021-10-15T18·48+0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2021-11-10T20·15+0000 |
commit | 9239868daa54e4f17e6778910c7a49036c49e72e (patch) | |
tree | 5356c8e5fce76aeff3292e9d1ec7b3976e6a04f4 /users/sterni/nixpkgs-crate-holes/format-audit-result.jq | |
parent | 795a8de9420672b8eaea0b5bba2a373b69b54130 (diff) |
feat(nixpkgs-crate-holes): cc maintainers allowed by a whitelist r/3034
Change-Id: Iffbe173a48b466c52669efc70f9b5e5d4a6aff9a Reviewed-on: https://cl.tvl.fyi/c/depot/+/3730 Tested-by: BuildkiteCI Reviewed-by: Alyssa Ross <hi@alyssa.is> Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/nixpkgs-crate-holes/format-audit-result.jq')
-rw-r--r-- | users/sterni/nixpkgs-crate-holes/format-audit-result.jq | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/users/sterni/nixpkgs-crate-holes/format-audit-result.jq b/users/sterni/nixpkgs-crate-holes/format-audit-result.jq index c527bc4da9ec..e3147b8016c1 100644 --- a/users/sterni/nixpkgs-crate-holes/format-audit-result.jq +++ b/users/sterni/nixpkgs-crate-holes/format-audit-result.jq @@ -53,7 +53,9 @@ else ([ "- [ ] " , "`", $attr, "`: " , (.vulnerabilities.count | tostring) - , " vulnerabilities in Cargo.lock\n" + , " vulnerabilities in Cargo.lock" + , if $maintainers != "" then " (cc " + $maintainers + ")" else "" end + , "\n" ] + (.vulnerabilities.list | map(format_vulnerability)) ) | add end |