docker / docker/vscode-extension
Bake code lens tasks causes errors to be printed
Open
Nobody has claimed this yet.
bake
- Dominant language
- TypeScript
- Stars
- 59
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
If I click on the "Print" code lens it will print to the terminal but I see there are also some error messages in the Output view.
target "a" {
args = {
var = "value"
}
}
Error: the task 'docker-vscode-extension: docker buildx bake' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
"type": "shell",
"id": "shell,docker,buildx,bake,--print,a,",
"problemMatcher": [],
"label": "docker-vscode-extension: docker buildx bake"
}
Error: the task 'docker-vscode-extension: docker buildx bake' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
"type": "shell",
"id": "shell,docker,buildx,bake,--print,a,",
"problemMatcher": [],
"label": "docker-vscode-extension: docker buildx bake"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the provided HCL target and the “Print” code lens in Visual Studio Code. Trace the code-lens task generation and inspect why the generated shell task has neither a command nor a dependsOn property. Done means clicking “Print” still prints the bake output without the task errors appearing in the Output view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100