Skip to content

Commit

Permalink
Merge branch 'kiko/gh/fix-warning/sync-github-prs/PR-9059/OTP-19356' …
Browse files Browse the repository at this point in the history
…into maint

* kiko/gh/fix-warning/sync-github-prs:
  github: fixes warnings for unused variables
  • Loading branch information
kikofernandez committed Nov 14, 2024
2 parents 956c18d + ca7f4ef commit 519e43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/sync-github-prs.es
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ purge_prs(Target) ->
Files = string:split(cmd("find " ++ Target ++ " -type f -a "
"\\! -name suite.log.html -exec du -a {} \\+"),"\n",all),
SortedFiles =
lists:sort(fun([A|_]=As,[B|_]=Bs) ->
lists:sort(fun([A|_],[B|_]) ->
binary_to_integer(A) >= binary_to_integer(B)
end, [string:split(F,"\t") || F <- Files, F =/= <<>>]),
purge_prs(SortedFiles, Target, get_directory_size(Target)).
Expand Down

0 comments on commit 519e43a

Please sign in to comment.