From f6f682c3f89166abd54db83655ff86c2d27df908 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 17 Dec 2016 01:02:58 -0800 Subject: add debug for build step --- cmd/ponzu/options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ponzu/options.go b/cmd/ponzu/options.go index beaa26d..12cb4b9 100644 --- a/cmd/ponzu/options.go +++ b/cmd/ponzu/options.go @@ -203,8 +203,8 @@ func copyFile(info os.FileInfo, src string, dst string) error { func copyDirWithPlan(plan copyPlan) error { err := filepath.Walk(plan.srcPath, func(path string, info os.FileInfo, err error) error { if err != nil { - return err fmt.Println("Error in walkFn", plan) + return err } if info.IsDir() { @@ -217,8 +217,8 @@ func copyDirWithPlan(plan copyPlan) error { dirPath := filepath.Join(path, info.Name()) err := os.MkdirAll(dirPath, os.ModeDir|os.ModePerm) if err != nil { - return err fmt.Println("Error in os.MkdirAll", plan) + return err } return nil -- cgit v1.2.3