Prints an error message (red if colorama is available).
(message: str)
| 50 | print_message(prefix, message, color) |
| 51 | |
| 52 | def print_error(message: str) -> None: |
| 53 | """Prints an error message (red if colorama is available).""" |
| 54 | prefix = "[ERROR]" |
| 55 | color = Fore.RED if IS_COLORAMA_AVAILABLE else "" |
| 56 | print_message(prefix, message, color) |
| 57 | |
| 58 | # --- IDE Path Functions --- |
| 59 | def get_ide_paths(ide_type: IDEType) -> Optional[Dict[str, Path]]: |
no test coverage detected