Skip to content

Commit

Permalink
Fix: Do not run update-recipe if user cancels layer selection
Browse files Browse the repository at this point in the history
  • Loading branch information
deribaucourt committed Jan 2, 2024
1 parent 11c465b commit c323d1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/ui/BitbakeCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''

Expand Down

0 comments on commit c323d1d

Please sign in to comment.