wxgeorge commited on
Commit
ccf3a62
1 Parent(s): 77d9d41

:wrench: ensure model-cache is in sorted order for easier git inspection.

Browse files
Files changed (1) hide show
  1. cache-working-models.sh +1 -1
cache-working-models.sh CHANGED
@@ -2,7 +2,7 @@
2
 
3
  my_jq_query=$(cat << JQ
4
  [.data[] | select(.status | test("idle|live"))]
5
- | [group_by(.model_class)[] | { key: .[0].model_class, value: [.[].id] }] | from_entries
6
  JQ
7
  )
8
 
 
2
 
3
  my_jq_query=$(cat << JQ
4
  [.data[] | select(.status | test("idle|live"))]
5
+ | [group_by(.model_class)[] | { key: .[0].model_class, value: ([.[].id] | sort) }] | from_entries
6
  JQ
7
  )
8