Skip to content

Commit cca9798

Browse files
authored
Merge pull request #12938 from quarto-dev/bugfix/12627
add - do not proceed when installation is canceled (#12627)
2 parents 3c6e49f + 5983d86 commit cca9798

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

news/changelog-1.8.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ All changes included in 1.8:
6868

6969
- ([#12733](https://github.com/quarto-dev/quarto-cli/issues/12733)): Add installed extensions to `quarto inspect` project report.
7070

71+
### `add`
72+
73+
- ([#12627](https://github.com/quarto-dev/quarto-cli/issues/12627)): Don't actually install extension when user responds `yes` to first prompt but `no` to second.
74+
7175
## Engines
7276

7377
### `jupyter`

src/extension/install.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export async function installExtension(
7878
if (!confirmed) {
7979
// Not confirmed, cancel the installation
8080
cancelInstallation();
81+
return false;
8182
}
8283

8384
// Complete the installation

0 commit comments

Comments
 (0)