Skip to content

"quarto add extension" installs extension after cancelling #12627

@andrewheiss

Description

@andrewheiss

Bug description

Responding "No" to installing an extension still installs the extension

Steps to reproduce

  1. Run this in a terminal (tested in zsh and bash):

    quarto add andrewheiss/quarto-wordcount
  2. Respond "Yes" to "Do you trust the authors of this extension"

  3. Respond "No" to "Would you like to continue"

  4. Check the working directory—the extension is installed

Image

Actual behavior

The extension is installed after responding "No" to not install it

Expected behavior

It probably shouldn't be installed after telling it to not to :)

Your environment

  • macOS Sequoia 15.4.1
  • zsh and bash

Quarto check output

Quarto 1.7.28
[✓] Checking environment information...
      Quarto cache location: /Users/andrew/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.6.3: OK
      Dart Sass version 1.85.1: OK
      Deno version 1.46.3: OK
      Typst version 0.13.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.7.28
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (external install)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: TinyTex
      Path: /Users/andrew/Library/TinyTeX/bin/universal-darwin
      Version: 2024

[✓] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
      Source: MacOS known location

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.13.1
      Path: /opt/homebrew/opt/[email protected]/bin/python3.13
      Jupyter: 5.7.2
      Kernels: python3

Metadata

Metadata

Assignees

Labels

backportbugSomething isn't workingearly-in-releaseAn issue that should be worked on early in the release (likely due to risk)extensionsrelates to Quarto extensions mechanismregressionFunctionality that used to work but now is broken.triaged-toIssues that were not self-assigned, signals that an issue was assigned to someone.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions