Skip to content

Commit

Permalink
Only color the message level
Browse files Browse the repository at this point in the history
  • Loading branch information
ysdragon committed Dec 27, 2024
1 parent 013fe5c commit 5e7ab58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ log() {
color=${colors[NC]}
fi

printf "${color}[$level] $message${colors[NC]}\n"
printf "${color}[$level]${colors[NC]} $message\n"
}

# Detect the machine architecture.
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ log() {
color=${NC}
fi

printf "${color}[$level] $message${NC}\n"
printf "${color}[$level]${NC} $message\n"
}

# Function to handle cleanup on exit
Expand Down

0 comments on commit 5e7ab58

Please sign in to comment.