Fix icons in p10k config once more
This commit is contained in:
parent
4982aae72e
commit
54bdb27773
@ -1813,8 +1813,8 @@
|
||||
fi | tee /dev/stderr \
|
||||
| jq -r '.data.repository.object.statusCheckRollup as $rollup | $rollup.state as $state | $rollup.contexts.edges as $contexts | if $rollup == null then ["∅"] else
|
||||
$contexts | map (.node.state) | unique | map(. as $state | {} | .[$state|tostring] = ($contexts | map(select(.node.state == $state)) | length)) | add as $result
|
||||
| (($result.PENDING//0) + ($result.EXPECTED//0)) as $waiting
|
||||
| ($result.null//0) as $running
|
||||
| (($result.EXPECTED//0)) as $waiting
|
||||
| (($result.null//0) + ($result.PENDING//0)) as $running
|
||||
| (($result.SUCCESS//0) + ($result.NEUTRAL//0)) as $success
|
||||
| (($result.FAILURE//0) + ($result.ERROR//0)) as $failure
|
||||
| if $state == "PENDING" or $state == "EXPECTED" then [" "] elif $state == "SUCCESS" then [""] elif $state == "FAILURE" or $state == "ERROR" then [""] else ["(?)"] end
|
||||
|
Loading…
Reference in New Issue
Block a user