Skip to content

Commit f1b0ec0

Browse files
committed
Use with_entries
1 parent 39eef89 commit f1b0ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci_test_solc_multi_file.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ normalize_file() {
77
def sort_deps:
88
if type == "object" then
99
# Process each key-value pair
10-
to_entries | map(
10+
with_entries(
1111
if .key == "contractDependencies" and (.value | type == "array") then
1212
.value = (.value | sort)
1313
else
1414
.value = (.value | sort_deps)
1515
end
16-
) | from_entries
16+
)
1717
elif type == "array" then
1818
# Process each array element recursively
1919
map(sort_deps)

0 commit comments

Comments
 (0)