Skip to content

Commit

Permalink
Remove >>> wrapping <<<
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Apr 8, 2021
1 parent 21c5d5c commit 911a808
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions industrial_ci/src/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ function ici_time_start {
echo # blank line

ici_start_fold "$ICI_TIME_ID" "$ICI_FOLD_NAME" "$ICI_START_TIME"

ici_color_output $ANSI_BLUE ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
ici_color_output $ANSI_BLUE "Starting function '$ICI_FOLD_NAME'"
ici_color_output $ANSI_BLUE "$ICI_FOLD_NAME"
if [ "$DEBUG_BASH" ] && [ "$DEBUG_BASH" == true ]; then set -x; fi
}

Expand Down Expand Up @@ -148,10 +146,8 @@ function ici_time_end {
local end_time; end_time=$(date -u +%s%N)
local elapsed_seconds; elapsed_seconds=$(( (end_time - ICI_START_TIME)/1000000000 ))

ici_end_fold "$ICI_TIME_ID" "$name" "$ICI_START_TIME" "$end_time"

ici_color_output "$color_wrap" "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
ici_color_output "$color_wrap" "Function '$name' returned with code '${exit_code}' after $(( elapsed_seconds / 60 )) min $(( elapsed_seconds % 60 )) sec"
ici_end_fold "$ICI_TIME_ID" "$name" "$ICI_START_TIME" "$end_time"

ICI_FOLD_NAME=
if [ "$DEBUG_BASH" ] && [ "$DEBUG_BASH" == true ]; then set -x; fi
Expand Down

0 comments on commit 911a808

Please sign in to comment.