actually fix jq filter
This commit is contained in:
parent
a60eba976f
commit
cc834eda99
|
@ -2,15 +2,12 @@ let
|
||||||
emotes = import ./emotes.nix;
|
emotes = import ./emotes.nix;
|
||||||
in rec {
|
in rec {
|
||||||
failures = ''
|
failures = ''
|
||||||
[. | map(select(.results[].results[].success == false))[]
|
[.[] | {
|
||||||
| {
|
(.path): [.results[] | {
|
||||||
(.path): .results | map(select(.results[].success == false))[]
|
(.component): [.results[] | {
|
||||||
| {
|
(.msg): select(.success == false) | {expected, actual, success}
|
||||||
(.component): .results | map(select(.success == false))[]
|
}] | add
|
||||||
| {
|
}] | add
|
||||||
(.msg): {success, expected, actual}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}] | add
|
}] | add
|
||||||
'';
|
'';
|
||||||
overview = failures;
|
overview = failures;
|
||||||
|
|
Loading…
Reference in a new issue