actboy168 / vscode-tasks

MIT License
37 stars 14 forks source link

Running certain tasks fail with error "Tasks to execute must include an execution" #26

Closed frankkahl closed 3 years ago

frankkahl commented 3 years ago

First of all thank you for writing this really great extension.

After upgrading to the newest VSCode 1.52.1 running the Task "refresh submodules" from the status bar using your extension (version 0.8.0) fails with the error message: "Tasks to execute must include an execution"

I suspect it is an issue with their task extension. The task itself has no "command" property but is a sequence of other tasks. Running it via the "Terminal -> Run Task..." Menu is successful.

Below you find the used tasks.json in a ZIP archive

Have a merry christmas,

Frank

tasks.zip

actboy168 commented 3 years ago

This is a VSCode bug. It should be fixed in 1.53. https://github.com/microsoft/vscode/issues/112545

frankkahl commented 3 years ago

Thank you very much for your quick response. This VSCode bug slipped my google search. In the meanwhile I circumvented the bug by adding "command": ":", to the task.