Skip to content

Commit

Permalink
Fix scripts/removeAnchors.sh on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
cblp committed Nov 13, 2021
1 parent 86c676c commit 150e13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/removeAnchors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This script removes all code anchors to improve readability

# All .purs & .js files in the src/ and test/ directories of chapter exercises.
FILES=$(find . -regextype posix-extended -regex '\./exercises/chapter[0-9]{1,2}/(src|test)/.*\.(purs|js)' -type f)
FILES=$(find -E . -regex '\./exercises/chapter[0-9]{1,2}/(src|test)/.*\.(purs|js)' -type f)

for f in $FILES; do
# Delete lines starting with an 'ANCHOR' comment
Expand Down

0 comments on commit 150e13b

Please sign in to comment.