Traceback on file with unsupported file extension
Closed this issue · 0 comments
ericwb commented
Describe the bug
Traceback on file with unsupported file extension
To Reproduce
DEBUG:precli.core.run: Exception traceback: Traceback (most recent call last):
File "/Users/ericwb/workspace/precli/precli/core/run.py", line 121, in parse_file
artifact.language = parser.lexer
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'lexer'
Expected behavior
n/a
Version
precli 0.3.5.dev2
python version = 3.12.1 (main, Dec 12 2023, 13:19:17) [Clang 15.0.0 (clang-1500.0.40.1)]
Erics-MacBook-Pro-2:precli ericwb$
Additional context
n/a