Skip to content

Commit 3e7da1c

Browse files
committed
bashlog: change upper to original code
1 parent 88a0956 commit 3e7da1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/bashlog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function log() {
3232
local pid="${$}";
3333

3434
local level="${1}";
35-
local upper="$(tr '[:lower:]' '[:upper:]')";
35+
local upper="$(echo "${level}" | awk '{print toupper($0)}')";
3636
local debug_level="${TFENV_DEBUG:-0}";
3737
local stdout_colours="${BASHLOG_COLOURS:-1}";
3838

0 commit comments

Comments
 (0)