hasDeferredEdits reports whether the run asks for an edit that the deferred update path applies, which Editable.Dirty() cannot see. Setting --type is absent because it sets Editable.IssueType.Edited, which Dirty() already covers; only --remove-type arrives here.
()
| 283 | // absent because it sets Editable.IssueType.Edited, which Dirty() already |
| 284 | // covers; only --remove-type arrives here. |
| 285 | func (opts *EditOptions) hasDeferredEdits() bool { |
| 286 | return opts.RemoveIssueType || |
| 287 | opts.Parent != "" || opts.RemoveParent || |
| 288 | len(opts.AddSubIssues) > 0 || len(opts.RemoveSubIssues) > 0 || |
| 289 | len(opts.AddBlockedBy) > 0 || len(opts.RemoveBlockedBy) > 0 || |
| 290 | len(opts.AddBlocking) > 0 || len(opts.RemoveBlocking) > 0 |
| 291 | } |
| 292 | |
| 293 | func editRun(opts *EditOptions) error { |
| 294 | httpClient, err := opts.HttpClient() |
no outgoing calls
no test coverage detected