Code Formatter: Support tsx

This commit is contained in:
Arnie 2018-12-19 07:25:50 +01:00
parent 7758455fc7
commit d8dc527f88

View File

@ -32,7 +32,7 @@ __initVariables() {
CSS_FILES+=("${1}") CSS_FILES+=("${1}")
fi fi
;; ;;
*.js|*.jsx|*.ts|*.json|*.vue) *.js|*.jsx|*.ts|*.tsx|*.json|*.vue)
__path_exists "${1}" __path_exists "${1}"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
__err "Specified path does not exist: ${1}" __err "Specified path does not exist: ${1}"