Skip to content

Commit

Permalink
Remove lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson committed Nov 16, 2024
1 parent 2ed7212 commit 188476c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/vscode/command_client/command_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ def run_command(
raise Exception("Must use command-server extension for advanced commands")
raise NoFileServerException("Communication directory not found")

trigger_execution = lambda: actions.user.trigger_command_server_command_execution()
def trigger_execution():
return actions.user.trigger_command_server_command_execution()

payload = {
"command_id": command_id,
Expand Down

0 comments on commit 188476c

Please sign in to comment.