diff --git a/.version b/.version index afaf360..7dea76e 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.0.0 \ No newline at end of file +1.0.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29..48328ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,2 @@ +## v1.0.1 +* fix spaces in strings diff --git a/command/set.go b/command/set.go index 41ce464..bb3348e 100644 --- a/command/set.go +++ b/command/set.go @@ -70,7 +70,6 @@ func (s setCommand) action(c *cli.Context) { } func (s setCommand) parseObject(argument string) interface{} { - argument = strings.Replace(argument, " ", "", -1) tryParse := []byte(argument) if tryParse[0] == '"' && tryParse[len(tryParse)-1] == '"' { tryParse = tryParse[1 : len(tryParse)-1]