Repository navigation
Commit fe95465
claude: Fix quarto check julia by loading bundled engines in zero-file context
Fixes the issue where `quarto check julia` was failing with "Invalid value 'julia'"
even though Julia is available as a bundled engine extension.
The problem: When running commands like `quarto check julia` outside a project
directory, no project context exists, so bundled engine extensions were never loaded.
The solution: Create a zeroFileProjectContext() that provides just enough structure
to discover and register bundled engine extensions when no actual project or file
exists. The function initializeProjectContextAndEngines() now falls back to this
zero-file context when no project is found.
Also changed initializeProjectContextAndEngines() to return Promise<void> instead
of Promise<ProjectContext | undefined>, since the name suggests initialization
rather than retrieval and both callers ignore the return value.
Now `quarto check julia` works both inside and outside project directories.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 92bbe86 commit fe95465
1 file changed
Lines changed: 42 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
13 | 46 | | |
14 | 47 | | |
15 | 48 | | |
| |||
18 | 51 | | |
19 | 52 | | |
20 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
21 | 57 | | |
22 | | - | |
23 | 58 | | |
24 | 59 | | |
25 | 60 | | |
26 | | - | |
| 61 | + | |
27 | 62 | | |
28 | 63 | | |
29 | 64 | | |
30 | | - | |
31 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
32 | 69 | | |
33 | 70 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 71 | + | |
39 | 72 | | |
0 commit comments