diff --git a/client/src/ui/BitbakeCommands.ts b/client/src/ui/BitbakeCommands.ts index e49df9d4..f76a037d 100644 --- a/client/src/ui/BitbakeCommands.ts +++ b/client/src/ui/BitbakeCommands.ts @@ -244,6 +244,7 @@ async function devtoolUpdateCommand (bitbakeWorkspace: BitbakeWorkspace, bitBake const chosenRecipe = await selectRecipe(bitbakeWorkspace, uri) if (chosenRecipe === undefined) { return } const chosenLayer = await pickLayer(originalRecipeChoice, bitBakeProjectScanner) + if (chosenLayer === undefined) { return } const chosenLayerPath = await bitBakeProjectScanner.resolveHostPath(chosenLayer?.path) let command = ''