Skip to content

Commit fd54213

Browse files
committed
dev-call, show-ast - Use the same quarto binary as the one used to run the command
1 parent 5f3cd1f commit fd54213

File tree

1 file changed

+2
-2
lines changed
  • src/command/dev-call/show-ast-trace

1 file changed

+2
-2
lines changed

src/command/dev-call/show-ast-trace/cmd.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const showAstTraceCommand = new Command()
4444
const traceName = join(dir, `${base}-quarto-ast-trace.json`);
4545

4646
const renderOpts = {
47-
cmd: "quarto",
47+
cmd: quartoConfig.cliPath(),
4848
env: {
4949
"QUARTO_TRACE_FILTERS": traceName,
5050
},
@@ -62,7 +62,7 @@ export const showAstTraceCommand = new Command()
6262
moveSync(traceName, join(toolsPath, basename(traceName)));
6363

6464
const _previewResult = await execProcess({
65-
cmd: "quarto",
65+
cmd: quartoConfig.cliPath(),
6666
cwd: toolsPath,
6767
args: [
6868
"preview",

0 commit comments

Comments
 (0)