code style

This commit is contained in:
Cedric Meury 2018-03-26 00:17:12 +02:00
parent 915c190901
commit 7f90415689
3 changed files with 6 additions and 6 deletions

View File

@ -15,10 +15,10 @@ type Runner interface {
Execute(cmd string, args []string) ([]byte, error) Execute(cmd string, args []string) ([]byte, error)
} }
type CliRunner struct {} type CliRunner struct{}
func (cli CliRunner) Execute(cmd string, args []string) ([]byte, error) { func (cli CliRunner) Execute(cmd string, args []string) ([]byte, error) {
dir, err := ioutil.TempDir("", tmpPrefix + cmd + tmpSuffix) dir, err := ioutil.TempDir("", tmpPrefix+cmd+tmpSuffix)
if err != nil { if err != nil {
return nil, err return nil, err
} }