Skip to content

Commit c38d76a

Browse files
committed
Update tasks command format
Signed-off-by: paulober <[email protected]>
1 parent 0f9e922 commit c38d76a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/utils/projectGeneration/projectZephyr.mts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ async function generateVSCodeConfig(
355355
group: {
356356
kind: "build",
357357
},
358-
command: `\${command:${extensionName}.${GET_WEST_PATH}}`,
358+
command: `"\${command:${extensionName}.${GET_WEST_PATH}}"`,
359359
args: ["flash", "--build-dir", '"${workspaceFolder}/build"'],
360360
options: {
361361
cwd: `\${command:${extensionName}.${GET_ZEPHYR_WORKSPACE_PATH}}`,
@@ -364,7 +364,7 @@ async function generateVSCodeConfig(
364364
{
365365
label: "Run Project",
366366
type: "shell",
367-
command: `\${command:${extensionName}.${GET_PICOTOOL_PATH}}`,
367+
command: `"\${command:${extensionName}.${GET_PICOTOOL_PATH}}"`,
368368
// TODO: support for launch target path command
369369
args: ["load", '"${workspaceFolder}/build/zephyr/zephyr.elf"', "-fx"],
370370
presentation: {
@@ -374,9 +374,6 @@ async function generateVSCodeConfig(
374374
problemMatcher: [],
375375
dependsOrder: "sequence",
376376
dependsOn: "Compile Project",
377-
windows: {
378-
command: `"\${command:${extensionName}.${GET_PICOTOOL_PATH}}"`,
379-
},
380377
},
381378
],
382379
};

0 commit comments

Comments
 (0)