Skip to content

Commit da90b38

Browse files
committed
Fix only windows OS by removing .exe
1 parent 734d7f2 commit da90b38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/testthat/_snaps/quarto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
at async Command.execute (<quarto.js full path with location>)
3333
3434
Caused by error:
35-
! System command '<quarto binary>' failed
35+
! System command 'quarto' failed
3636

3737
# is_using_quarto correctly check directory
3838

tests/testthat/helper.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ transform_quarto_cli_in_output <- function(
173173
)
174174
# fixup binary name difference it exists in the output
175175
# windows is quarto.exe while quarto on other OS
176-
lines <- gsub("quarto.exe", "<quarto binary>", lines)
176+
lines <- gsub("quarto.exe", "quarto", lines, fixed = TRUE)
177177
} else {
178178
# it will be quarto.exe only on windows
179179
lines <- gsub("quarto\\.(exe|cmd)", "quarto", lines)

0 commit comments

Comments
 (0)