(config editItemConfig)
| 241 | } |
| 242 | |
| 243 | func buildClearItem(config editItemConfig) (*ClearProjectV2FieldValue, map[string]interface{}) { |
| 244 | return &ClearProjectV2FieldValue{}, map[string]interface{}{ |
| 245 | "input": githubv4.ClearProjectV2ItemFieldValueInput{ |
| 246 | ProjectID: githubv4.ID(config.opts.projectID), |
| 247 | ItemID: githubv4.ID(config.opts.itemID), |
| 248 | FieldID: githubv4.ID(config.opts.fieldID), |
| 249 | }, |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | func printDraftIssueResults(config editItemConfig, item queries.DraftIssue) error { |
| 254 | if !config.io.IsStdoutTTY() { |
no test coverage detected