Skip to content

Commit e23a84d

Browse files
lwjohnst86signekb
andauthored
refactor: ✏️ use update, not add for Quarto extension (#195)
# Description This PR needs a quick review. ## Checklist - [x] Ran `just run-all` --------- Co-authored-by: Signe Kirk Brødbæk <40836345+signekb@users.noreply.github.com>
1 parent 0f91e51 commit e23a84d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

justfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ install-precommit:
2020

2121
# Update the Quarto seedcase-theme extension
2222
update-quarto-theme:
23-
quarto add seedcase-project/seedcase-theme --no-prompt
23+
# Add theme if it doesn't exist, update if it does
24+
quarto update seedcase-project/seedcase-theme --no-prompt
2425

2526
# Update files in the template from the copier parent folder
2627
update-template:

template/justfile.jinja

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ install-precommit:
3333
{%- if is_seedcase_project %}
3434
# Update the Quarto seedcase-theme extension
3535
update-quarto-theme:
36-
quarto add seedcase-project/seedcase-theme --no-prompt
36+
# Add theme if it doesn't exist, update if it does
37+
quarto update seedcase-project/seedcase-theme --no-prompt
3738
{%- endif %}
3839

3940
# Install Python package dependencies

0 commit comments

Comments
 (0)