lib/log: shellcheck && shfmt

Alsö, fix tests to load `lib/colors` instead of `lib/appearance`...wut

Alsö, `short-circuit _has_colors()`: If we already looked up colors, and we already have them, then don't run `tput` again.

My apologies to future `git blame` hunters ♥
This commit is contained in:
John D Pell
2022-01-09 00:49:44 -08:00
parent 86c1e3c043
commit b772e6ace7
2 changed files with 36 additions and 42 deletions

View File

@@ -78,6 +78,7 @@ completion/available/vuejs.completion.bash
completion/available/wpscan.completion.bash
# libraries
lib/log.bash
lib/utilities.bash
# plugins