Skip to content

Commit fc73c58

Browse files
authored
sort alphabetically, remove obsolet comment
1 parent 5e7e513 commit fc73c58

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/canonical_data_check.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ then
6161
exit 1
6262
fi
6363

64-
track_exercise_slugs=$(jq '.exercises[] | select(has("deprecated") | not) | .slug' $config_file_path | tr -d "\"")
64+
track_exercise_slugs=$(jq '.exercises[] | select(has("deprecated") | not) | .slug' $config_file_path | tr -d "\"" | sort)
6565
update_needed_count=0
6666

6767
for slug in $track_exercise_slugs
@@ -78,7 +78,6 @@ do
7878

7979
if ! [ -f "$canonical_data_file_path" ]
8080
then
81-
# echo "$slug: no canonical data found."
8281
continue
8382
fi
8483

0 commit comments

Comments
 (0)