Fixed incorrect enum usage in RepositoryMenu

This commit is contained in:
netkas 2024-09-27 00:35:01 -04:00
parent 9303158674
commit 1b33b83926
2 changed files with 4 additions and 1 deletions

View file

@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
This update introduces bug fixes
### Fixed
- Fixed incorrect enum usage in RepositoryMenu
## [2.1.1] - 2024-09-24

View file

@ -119,7 +119,7 @@
$output = sprintf('%s (%s) [%s]',
$source->getName(),
Console::formatColor($source->getHost(), ConsoleColors::GREEN),
Console::formatColor($source->getType(), ConsoleColors::YELLOW)
Console::formatColor($source->getType()->value, ConsoleColors::YELLOW)
);
if(!$source->isSsl())