From b3f4cfccda481651a827a59e6157199fa7bd856a Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 19 Aug 2015 12:39:16 -0700 Subject: [PATCH] setup error when workspace path not exists --- cmd/drone-build/main.go | 2 +- cmd/drone-build/run.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/drone-build/main.go b/cmd/drone-build/main.go index 71a0af5f6..cc23f34cf 100644 --- a/cmd/drone-build/main.go +++ b/cmd/drone-build/main.go @@ -106,7 +106,7 @@ func main() { os.Exit(ctx.Job.ExitCode) } -func createClone(c *Context) error { +func createClone(c *Context) { c.Clone = &common.Clone{ Netrc: c.Netrc, Keypair: c.Keys, diff --git a/cmd/drone-build/run.go b/cmd/drone-build/run.go index 7a9611f82..dfd2cdb1d 100644 --- a/cmd/drone-build/run.go +++ b/cmd/drone-build/run.go @@ -1,6 +1,8 @@ package main import ( + "fmt" + "github.com/drone/drone/Godeps/_workspace/src/github.com/samalba/dockerclient" common "github.com/drone/drone/pkg/types" "github.com/drone/drone/pkg/yaml"