Commit 59fe6a9
fix: address review bugs in devin CLI argument handling
- Add -- separator before prompt in print-mode dispatch to prevent
flag-like prompts (e.g. '--version') from being parsed as backend flags
- Set HEADLESS=true when MODE=print after parse_args, so build_cmd()
handles it once instead of duplicating --headless in the dispatch
- Declare 'line' as local in builtin_repl for scope hygiene
Co-Authored-By: Thuong Huynh <admin@huynhthuong.online>1 parent 87c429e commit 59fe6a9
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
| |||
225 | 229 | | |
226 | 230 | | |
227 | 231 | | |
228 | | - | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
0 commit comments