Skip to content

Commit d7c763b

Browse files
committed
lua - use cli_path() information instead of building the path with the environment variable
1 parent 6e36833 commit d7c763b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)