Skip to content

Commit f285ed5

Browse files
committed
Fix: delete the redundant parenthesis
1 parent d1e7b19 commit f285ed5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jq/script-11.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -euo pipefail
55
# The input for this script is the scores.json file.
66
# TODO: Write a command to output the total of adding together all scores from all games from all players.
77
# Your output should be exactly the number 164.
8-
jq -r ' [.[] | (.scores[])] | add' scores.json
8+
jq -r ' [.[] | .scores[]] | add' scores.json

0 commit comments

Comments
 (0)