Skip to content

Commit

Permalink
lowercase task
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Jan 2, 2024
1 parent aac1603 commit 824741d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/save_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def __init__(
self._canceled = False

def run(self) -> None:
for Task in self._tasks:
if Task.is_applicable(self._text_command.view):
self._pending_tasks.append(Task(self._text_command, self._on_task_completed_async))
for task in self._tasks:
if task.is_applicable(self._text_command.view):
self._pending_tasks.append(task(self._text_command, self._on_task_completed_async))
self._process_next_task()

def cancel(self) -> None:
Expand Down

0 comments on commit 824741d

Please sign in to comment.