From 691ad31db44c1571bda4c348fb6c0f1b2cdc5478 Mon Sep 17 00:00:00 2001 From: Daniel Jewell <23286051+danieldjewell@users.noreply.github.com> Date: Sun, 19 Jul 2020 13:03:29 -0700 Subject: [PATCH] Fix build becuase urfave/cli had an api change The dependency on urfave/cli changed and there is now a v2 of that module; This code uses v1. The new import url should pull in v1 --- .travis.yml | 2 +- pgfutter.go | 2 +- postgres.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3777367..786ddfb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ cache: directories: - samples install: - - go get github.com/codegangsta/cli + - go get github.com/urfave/cli - go get github.com/lib/pq - go get github.com/kennygrant/sanitize - go get github.com/cheggaaa/pb diff --git a/pgfutter.go b/pgfutter.go index 5e1c918..ba49dff 100644 --- a/pgfutter.go +++ b/pgfutter.go @@ -6,7 +6,7 @@ import ( "path/filepath" "strings" - "github.com/codegangsta/cli" + "github.com/urfave/cli" ) func exitOnError(err error) { diff --git a/postgres.go b/postgres.go index 4b53b1b..fbfb830 100644 --- a/postgres.go +++ b/postgres.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/codegangsta/cli" + "github.com/urfave/cli" "github.com/kennygrant/sanitize" )