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 8fbb629 commit 14fe566Copy full SHA for 14fe566
cmd/object_create.go
@@ -96,7 +96,7 @@ var createCmd = &cobra.Command{
96
fmt.Print(description)
97
98
value, _ := reader.ReadString('\n')
99
- if len(strings.TrimSpace(value)) != 0 {
+ if len(strings.TrimSpace(value)) > 0 {
100
config[data.(map[interface{}]interface{})["tag"].(string)] = strings.TrimSuffix(value, "\n")
101
}
102
0 commit comments