Rename commands to cmds

This commit is contained in:
Alex Yatskov 2015-04-05 19:38:19 +09:00
parent 74fc847f6c
commit afc8559df2

View File

@ -27,7 +27,7 @@ import "fmt"
type task struct {
Deps []string
Links []link
Commands []command
Cmds []command
}
func (this *task) process(srcDir, dstDir string, conf *config, flags int) error {
@ -48,7 +48,7 @@ func (this *task) process(srcDir, dstDir string, conf *config, flags int) error
}
}
for _, currCmd := range this.Commands {
for _, currCmd := range this.Cmds {
if err := currCmd.process(dstDir, flags); err != nil {
return err
}