forked from toolshed/abra
refactor: NewClientWithContext -> New, and use server only
This commit is contained in:
@ -59,9 +59,9 @@ var appRemoveCommand = &cli.Command{
|
||||
}
|
||||
|
||||
appPath := appFiles[appName].Path
|
||||
host := appFiles[appName].Server
|
||||
server := appFiles[appName].Server
|
||||
ctx := context.Background()
|
||||
cl, err := client.NewClientWithContext(host)
|
||||
cl, err := client.New(server)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user