Skip to content

Commit 4dff5d3

Browse files
committed
Makes the colour reset to the original colour after throwing an error.
1 parent 580837b commit 4dff5d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/src/Helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static function logmessage($message) {
2020
}
2121

2222
public static function error($message, $die = true) {
23-
self::logmessage("\033[0;31mERROR: $message");
23+
self::logmessage("\033[0;31mERROR: $message\033[0m");
2424

2525
if ($die)
2626
{

0 commit comments

Comments
 (0)