Show more info in the UI and logs (#33841)

Addresses the `The binding is not displayed, though:` part from
https://github.com/zed-industries/zed/discussions/29498#discussioncomment-13649543

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-07-03 12:15:50 +03:00 committed by GitHub
parent 06ddc74917
commit 48c8555076
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -47,7 +47,10 @@ impl VsCodeTaskDefinition {
replacer: &EnvVariableReplacer,
) -> anyhow::Result<Option<TaskTemplate>> {
if self.other_attributes.contains_key("dependsOn") {
log::warn!("Skipping deserializing of a task with the unsupported `dependsOn` key");
log::warn!(
"Skipping deserializing of a task `{}` with the unsupported `dependsOn` key",
self.label
);
return Ok(None);
}
// `type` might not be set in e.g. tasks that use `dependsOn`; we still want to deserialize the whole object though (hence command is an Option),