Skip to content

Commit

Permalink
update IFS to manage whitespaces in filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
jnowalczyk committed May 22, 2023
1 parent 2fee840 commit c108a12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ set -o noglob
FILES="$(git ls-files | ghglob ${INPUT_PATTERNS})"
set +o noglob

# To manage whitespaces in filepath
IFS=$(echo -en "\n\b")

run_langtool() {
for FILE in ${FILES}; do
echo "Checking ${FILE}..." >&2
Expand Down

0 comments on commit c108a12

Please sign in to comment.