From 3cacaaad10ed2348fcc306b5b28e718dfcdde166 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 16 Sep 2018 14:02:33 -0700 Subject: [PATCH] wip --- context.go | 2 +- core.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/context.go b/context.go index 9d3b1f7..69f0640 100644 --- a/context.go +++ b/context.go @@ -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 diff --git a/core.go b/core.go index d327bdf..f2a4553 100644 --- a/core.go +++ b/core.go @@ -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]