mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-23 06:16:43 +00:00
Corrected typo.
Signed-off-by: Aingeru <aingeru.develop@gmail.com>
This commit is contained in:
parent
2bda10fabb
commit
6dfbdc5f4b
4
main.py
4
main.py
@ -553,8 +553,8 @@ class TodoParser(object):
|
||||
def _get_language_details(self, language_name, attribute, value):
|
||||
"""Try and get the Markdown language and comment syntax
|
||||
data based on a specified attribute of the language."""
|
||||
extensions = [ex.lower() for ex in self.languages_dict[language_name][attribute]]
|
||||
if value.lower() in extensions:
|
||||
attributes = [at.lower() for at in self.languages_dict[language_name][attribute]]
|
||||
if value.lower() in attributes:
|
||||
for syntax_details in self.syntax_dict:
|
||||
if syntax_details['language'] == language_name:
|
||||
return syntax_details['markers'], self.languages_dict[language_name]['ace_mode']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user