Skip to content

Commit

Permalink
fix: toc push
Browse files Browse the repository at this point in the history
  • Loading branch information
aeimer committed Oct 25, 2023
1 parent 186df4a commit 5f3f4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci-scripts/update-toc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function generateToc() {

while read -r file; do
# shellcheck disable=SC2001
programName=$(sed -E 's/(@.+)?\.rb//g' <<<"$file")
programName=$(cut -d@ -f1 <<<"$file")
programNameList+=("$programName")
done < <(find "Formula" -maxdepth 1 -type f -name '*.rb' -exec basename {} \; | sort)

Expand Down

0 comments on commit 5f3f4af

Please sign in to comment.