From afc8559df26c3b5297bf19d19e3c5d2357a74878 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 5 Apr 2015 19:38:19 +0900 Subject: [PATCH] Rename commands to cmds --- task.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/task.go b/task.go index c51c1da..618a181 100644 --- a/task.go +++ b/task.go @@ -25,9 +25,9 @@ package main import "fmt" type task struct { - Deps []string - Links []link - Commands []command + Deps []string + Links []link + 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 }