fix: resolve CI/CD workflow configuration
Some checks failed
Shell History Alias Generator CI / test (push) Has been cancelled
Some checks failed
Shell History Alias Generator CI / test (push) Has been cancelled
This commit is contained in:
@@ -238,7 +238,7 @@ def locations():
|
|||||||
console.print()
|
console.print()
|
||||||
|
|
||||||
|
|
||||||
def _get_parser(shell: str, history_file: Optional[Path]) -> Optional["BaseParser"]:
|
def _get_parser(shell: str, history_file: Optional[Path]) -> Optional[HistoryParser]:
|
||||||
"""Get appropriate history parser."""
|
"""Get appropriate history parser."""
|
||||||
if shell == 'auto' and history_file:
|
if shell == 'auto' and history_file:
|
||||||
detected = HistoryParserFactory.detect_shell_from_file(str(history_file))
|
detected = HistoryParserFactory.detect_shell_from_file(str(history_file))
|
||||||
|
|||||||
Reference in New Issue
Block a user