(config markTemplateConfig, project queries.ProjectMutationQuery)
| 151 | } |
| 152 | |
| 153 | func printResults(config markTemplateConfig, project queries.ProjectMutationQuery) error { |
| 154 | if !config.io.IsStdoutTTY() { |
| 155 | return nil |
| 156 | } |
| 157 | |
| 158 | if config.opts.undo { |
| 159 | _, err := fmt.Fprintf(config.io.Out, "Unmarked project %d as a template.\n", project.Number) |
| 160 | return err |
| 161 | } |
| 162 | |
| 163 | _, err := fmt.Fprintf(config.io.Out, "Marked project %d as a template.\n", project.Number) |
| 164 | return err |
| 165 | } |
no test coverage detected
searching dependent graphs…