diff --git a/_reformat-common.bash b/_reformat-common.bash index 98ae02a..6e73b87 100644 --- a/_reformat-common.bash +++ b/_reformat-common.bash @@ -152,7 +152,7 @@ function sniff_file_type() { echo $file_type } -function custom_formatter() { +function custom_wrapper() { root="$1" file_type="$2" @@ -168,7 +168,7 @@ function custom_formatter() { function choose_wrapper() { file_type="$1" - custom=$(custom_formatter $PROJECT_ROOT $file_type) + custom=$(custom_wrapper $PROJECT_ROOT $file_type) if [[ ! -z "${custom}" ]]; then echo -n "$custom"