(bin string, args ...string)
| 26 | } |
| 27 | |
| 28 | func NewRunner(bin string, args ...string) Runner { |
| 29 | return &runner{ |
| 30 | bin: bin, |
| 31 | args: args, |
| 32 | writer: ioutil.Discard, |
| 33 | starttime: time.Now(), |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | func (r *runner) Run() (*exec.Cmd, error) { |
| 38 | if r.needsRefresh() { |
nothing calls this directly
no outgoing calls
no test coverage detected