spelling: whitespace

This commit is contained in:
Josh Soref 2020-06-21 00:03:30 -04:00 committed by GitHub
parent aed53d0ee5
commit b283656177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -354,9 +354,9 @@ GetStandardRules()
ENV_STRING+="--env ${ENV} " ENV_STRING+="--env ${ENV} "
done done
######################################## #########################################
# Remove trailing and ending witespace # # Remove trailing and ending whitespace #
######################################## #########################################
if [[ "$LINTER" == "javascript" ]]; then if [[ "$LINTER" == "javascript" ]]; then
JAVASCRIPT_STANDARD_LINTER_RULES="$(echo -e "${ENV_STRING}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" JAVASCRIPT_STANDARD_LINTER_RULES="$(echo -e "${ENV_STRING}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')"
elif [[ "$LINTER" == "typescript" ]]; then elif [[ "$LINTER" == "typescript" ]]; then