Skip to content

Commit d91c313

Browse files
committed
updated to use v1 of urfave cli as the latest breaks this release
1 parent ebbab2b commit d91c313

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎backend/backend.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package backend
22

3-
import "github.com/urfave/cli"
3+
import "gopkg.in/urfave/cli.v1"
44

55
// Backend represents any syncing service or store that DFM can use.
66
type Backend interface {

‎backend/dropbox/dropbox.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"path/filepath"
77

88
"github.com/chasinglogic/dfm/config"
9-
"github.com/urfave/cli"
9+
"gopkg.in/urfave/cli.v1"
1010
)
1111

1212
// Backend implements backend.Backend for a dropbox based remote.

‎backend/git/git.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"path/filepath"
88

99
"github.com/chasinglogic/dfm/config"
10-
"github.com/urfave/cli"
10+
"gopkg.in/urfave/cli.v1"
1111
)
1212

1313
func getUserMsg() string {

‎cli/cli.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/chasinglogic/dfm/backend/dropbox"
99
"github.com/chasinglogic/dfm/backend/git"
1010
"github.com/chasinglogic/dfm/config"
11-
"github.com/urfave/cli"
11+
"gopkg.in/urfave/cli.v1"
1212
)
1313

1414
func loadBackend(backendName string) backend.Backend {

‎cli/init.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"path/filepath"
66

77
"github.com/chasinglogic/dfm/config"
8-
"github.com/urfave/cli"
8+
"gopkg.in/urfave/cli.v1"
99
)
1010

1111
// Init will create a new profile with the given name.

‎cli/rm.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cli
33
import (
44
"fmt"
55

6-
"github.com/urfave/cli"
6+
"gopkg.in/urfave/cli.v1"
77
)
88

99
func Rm(c *cli.Context) error {

‎cli/sync.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"path/filepath"
55

66
"github.com/chasinglogic/dfm/config"
7-
"github.com/urfave/cli"
7+
"gopkg.in/urfave/cli.v1"
88
)
99

1010
func Sync(c *cli.Context) error {

‎config/config.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"path/filepath"
1010
"strings"
1111

12-
"github.com/urfave/cli"
12+
"gopkg.in/urfave/cli.v1"
1313
)
1414

1515
var DefaultConfigDir = GetDefaultConfigDir()

‎utils/utils.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"path/filepath"
77
"strings"
88

9-
"github.com/urfave/cli"
9+
"gopkg.in/urfave/cli.v1"
1010
)
1111

1212
func RenameAndLink(userDir, file string) error {

0 commit comments

Comments
 (0)
⌂ 换网址