From 2c319522373e221750a2bcf1e8b0095fb1a5b830 Mon Sep 17 00:00:00 2001 From: Enguerrand de Ribaucourt Date: Mon, 16 Sep 2024 11:35:11 +0200 Subject: [PATCH] Fix: task_deps parsing on newer Yocto versions Two months ago, a commit was introduced that adds tasks with special characters which broke our JSON parsing. Since this variable is not extended, we might miss some tasks, but at least we keep providing the feature. I could not identify a replacement variable that would contained the expanded list of tasks. We would need to run a `bitbake list-tasks` but it would be slower. --- client/src/ui/BitbakeCommands.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/ui/BitbakeCommands.ts b/client/src/ui/BitbakeCommands.ts index d231c3c5..8e35b90d 100644 --- a/client/src/ui/BitbakeCommands.ts +++ b/client/src/ui/BitbakeCommands.ts @@ -267,7 +267,10 @@ async function selectTask (client: LanguageClient, recipe: string): Promise