This commit is contained in:
Alex Yatskov 2018-09-16 14:02:33 -07:00
parent 0fbf7335e4
commit 3cacaaad10
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ type context struct {
input, output chan *file
}
func (ctx *context) chain() {
func (ctx *context) step() {
defer close(ctx.output)
var err error

View File

@ -117,7 +117,7 @@ func (gs *goldsmith) End(dstDir string) []error {
gs.dstDir = dstDir
for _, ctx := range gs.contexts {
go ctx.chain()
go ctx.step()
}
ctx := gs.contexts[len(gs.contexts)-1]