Allow for html

This commit is contained in:
Michael Wolf
2020-05-25 07:53:11 -05:00
parent cf3493c9c5
commit 10ffb93f4e
3 changed files with 8 additions and 4 deletions

View File

@@ -15,7 +15,8 @@ if [[ $file_type == "javascript" || \
$file_type == "vue" || \
$file_type == "css" || \
$file_type == "typescript" || \
$file_type == "php" ]] ; then
$file_type == "php" || \
$file_type == "html" ]] ; then
out=$(npx prettier --write $file)
retval="$?"
success_retval=0