Skip to content

Commit 54f4d4c

Browse files
authored
Merge pull request #13057 from quarto-dev/lua/use-cli-path
lua - use `cli_path()` information instead of building the path with the environment variable
2 parents f91782d + d7c763b commit 54f4d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/filters/normalize/astpipeline.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function quarto_ast_pipeline()
6464
local jin = assert(io.open(juice_in, 'w'))
6565
jin:write(htmltext)
6666
jin:flush()
67-
local quarto_path = pandoc.path.join({os.getenv('QUARTO_BIN_PATH'), 'quarto'})
67+
local quarto_path = quarto.config.cli_path()
6868
local jout, jerr = io.popen(quarto_path .. ' run ' ..
6969
pandoc.path.join({os.getenv('QUARTO_SHARE_PATH'), 'scripts', 'juice.ts'}) .. ' ' ..
7070
juice_in, 'r')

0 commit comments

Comments
 (0)