Commit 39cd5736 authored by Robby Colvin's avatar Robby Colvin

fmt

parent 6cd0e7cb
...@@ -55,7 +55,7 @@ func decodeConfig(r io.Reader, c *config) error { ...@@ -55,7 +55,7 @@ func decodeConfig(r io.Reader, c *config) error {
// Returns an array of defined command names. // Returns an array of defined command names.
func (c *config) CommandNames() (result []string) { func (c *config) CommandNames() (result []string) {
result = make([]string, 0, len(c.Commands)) result = make([]string, 0, len(c.Commands))
for name, _ := range c.Commands { for name := range c.Commands {
result = append(result, name) result = append(result, name)
} }
return return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment