Commit fce0445
committed
fix(init): remove redundant isNonInteractive from template loading condition
The original condition (!template || !dir) already covers every case
where templates need to be loaded for prompts or the options note.
Adding isNonInteractive caused an unnecessary network fetch when an
agent provided both --template and dir (only to populate a template
list in the note that wasn't needed). The 'Proceeding with:' section
in the note still works correctly without it.
https://claude.ai/code/session_01LsDZBSg7peDmxh6QW33ag81 parent 0f5863c commit fce0445
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments