Skip to content

Running "Build with Bake" without a Bakefile yields an error #32

@bwateratmsft

Description

@bwateratmsft

Got this error when running "Build with Bake" from the command palette:

Image

I think the issue is here:

if (commandArgs['call'] === 'print') {

When calling from the command palette, no arguments are sent to the command. I'm assuming this command is meant to be called only from the language server; you can hide it from the command palette using the "menus" contribution point. For example, we hide several commands from the palette in the vscode-docker extension: https://github.com/microsoft/vscode-docker/blob/b78c43af413b50cc5a185ea4583a4f85d0f01333/package.json#L43-L48

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions