Be more consistent
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user