Be more consistent

This commit is contained in:
Michael Wolf
2023-09-30 19:05:26 -06:00
parent cb330256d4
commit 67027cd612

View File

@@ -152,7 +152,7 @@ function sniff_file_type() {
echo $file_type echo $file_type
} }
function custom_formatter() { function custom_wrapper() {
root="$1" root="$1"
file_type="$2" file_type="$2"
@@ -168,7 +168,7 @@ function custom_formatter() {
function choose_wrapper() { function choose_wrapper() {
file_type="$1" file_type="$1"
custom=$(custom_formatter $PROJECT_ROOT $file_type) custom=$(custom_wrapper $PROJECT_ROOT $file_type)
if [[ ! -z "${custom}" ]]; then if [[ ! -z "${custom}" ]]; then
echo -n "$custom" echo -n "$custom"