From 254f826bcaf249d4a1fdd2ad88829994910cd0a0 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Fri, 6 May 2016 12:01:09 -0700 Subject: [PATCH] remove referene to external package --- drone/deploy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drone/deploy.go b/drone/deploy.go index 8b389bf85..63590af01 100644 --- a/drone/deploy.go +++ b/drone/deploy.go @@ -8,7 +8,7 @@ import ( "strconv" "github.com/codegangsta/cli" - "github.com/drone/drone-go/drone" + "github.com/drone/drone/model" ) var deployCmd = cli.Command{ @@ -48,7 +48,7 @@ func deploy(c *cli.Context) error { if err != nil { return err } - if build.Event == drone.EventPull { + if build.Event == model.EventPull { return fmt.Errorf("Cannot deploy a pull request") } env := c.Args().Get(2)