diff --git a/entrypoint.sh b/entrypoint.sh index 3e2fd6d..c43c2ef 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 diff --git a/testdata/text with spaces.md b/testdata/text with spaces.md new file mode 100644 index 0000000..0deb90a --- /dev/null +++ b/testdata/text with spaces.md @@ -0,0 +1,7 @@ +It doesn't works on an unix environment. + +It maybe helpful in the future if Austin Energy goes combined cycle. + +It still possible for Tom to build a similar chart. + +You can do that if need.