We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d44f1a7 commit 8e35f54Copy full SHA for 8e35f54
cmd/swarm/upload.go
@@ -36,7 +36,7 @@ import (
36
func upload(ctx *cli.Context) {
37
args := ctx.Args()
38
var (
39
- bzzapi = ctx.GlobalString(SwarmApiFlag.Name)
+ bzzapi = strings.TrimRight(ctx.GlobalString(SwarmApiFlag.Name), "/")
40
recursive = ctx.GlobalBool(SwarmRecursiveUploadFlag.Name)
41
wantManifest = ctx.GlobalBoolT(SwarmWantManifestFlag.Name)
42
)
0 commit comments