Repository navigation
Commit d4dddcb
committed
fix(engine): quote patchFile in read-error wrap for consistency
Address review feedback from gemini-code-assist on
pkg/engine/engine.go:231: the read-error wrap was the only patchFile
interpolation in MergeFileAsPatch still using %s; every other site
in the function uses %q. Switch to %q so user-controlled paths are
quoted consistently and a path with shell metacharacters cannot
land in a hint as a copy-paste hazard.
Assisted-By: Claude <[email protected]>
Signed-off-by: Aleksei Sviridkin <[email protected]>1 parent 398448c commit d4dddcb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments