Skip to content

Commit

Permalink
Move colorize further down
Browse files Browse the repository at this point in the history
Having a single function invocation across dozen or so function
definitions is bad practise.

Signed-off-by: Emil Velikov <[email protected]>
  • Loading branch information
evelikov committed Feb 16, 2021
1 parent a6bf519 commit 5b38b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repro.in
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ function colorize() {
fi
readonly ALL_OFF BOLD BLUE GREEN RED YELLOW
}
colorize

# Desc: Message format
function msg() {
Expand Down Expand Up @@ -528,6 +527,7 @@ function source_conf() {
fi
}

colorize
source_conf
parse_args "$@"
check_root NOCHECK,MAKEFLAGS,DEBUG,CACHEDIR
Expand Down

0 comments on commit 5b38b48

Please sign in to comment.