Skip to content

Commit

Permalink
bashlog: add back bash3.2 compatible uppercase
Browse files Browse the repository at this point in the history
For now the perf issue of the shim is solved, so it's fine for debug
logging to be of lower performance.
  • Loading branch information
reegnz committed Mar 9, 2022
1 parent 8742a28 commit 88a0956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bashlog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function log() {
local pid="${$}";

local level="${1}";
local upper="${level^^}";
local upper="$(tr '[:lower:]' '[:upper:]')";
local debug_level="${TFENV_DEBUG:-0}";
local stdout_colours="${BASHLOG_COLOURS:-1}";

Expand Down

0 comments on commit 88a0956

Please sign in to comment.