(config editItemConfig)
| 398 | } |
| 399 | |
| 400 | func buildClearItem(config editItemConfig) (*ClearProjectV2FieldValue, map[string]any) { |
| 401 | return &ClearProjectV2FieldValue{}, map[string]any{ |
| 402 | "input": githubv4.ClearProjectV2ItemFieldValueInput{ |
| 403 | ProjectID: githubv4.ID(config.opts.projectID), |
| 404 | ItemID: githubv4.ID(config.opts.itemID), |
| 405 | FieldID: githubv4.ID(config.opts.fieldID), |
| 406 | }, |
| 407 | } |
| 408 | } |
| 409 | |
| 410 | func printDraftIssueResults(config editItemConfig, item queries.DraftIssue) error { |
| 411 | if !config.io.IsStdoutTTY() { |
no test coverage detected