-
-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Checklist
- The issue is about this extension and NOT about a fork.
- Checked the ALL the SUPPORT document.
- The latest version of the extension was used.
- It is not related to remote-vscode or I checked the following issue
- Imagine yourself into my position and think how hard to debug the issue without insufficient information.
I understand that you have privacy concerns and I expect you to understand that this extension is developed for free.
Thanks.
Describe the bug
I have tasks like these:
{
"label": "subtask1",
"type": "shell",
"command": "echo subtask1"
},
{
"label": "subtask2",
"type": "shell",
"command": "echo subtask2"
},
{
"label": "compound task",
"dependsOn": [
"subtask1",
"subtask2"
],
"dependsOrder": "sequence"
}
I can run "compound task" directly from vscode and this will execute subtask1 and subtask2. I want to use this task also from runTasks:
"runTask": {
"before": [
"compound task"
]
}
This produces an error:
Error: One of the tasks of the `testMate.test.advancedExecutables:runTask.before` array has failed: Error: Tasks to execute must include an execution
I could change compound task:
{
"label": "compound task",
"dependsOn": [
"subtask1",
"subtask2"
],
"dependsOrder": "sequence",
"type": "shell",
"command": "true"
}
Then there is no error, but subtask1 and subtask2 are not executed. The only way is to put them directly into runTasks:
"runTask": {
"before": [
"subtask1",
"subtask2"
]
}
Desktop
- Extension Version: 4.18.0
- VS Code Version: 1.105.0
- Catch2 / Google Test / DOCTest Version: Google Test 1.14
- OS Type and Version: Windows 11
- Using remote-ssh/docker/wsl?: remote-ssh (Linux) and container
matepek
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request