Skip to content

Commit

Permalink
Merge pull request #220 from saginadir/patch-2
Browse files Browse the repository at this point in the history
Small type fix in parser.go
  • Loading branch information
buger committed Dec 22, 2020
2 parents 26b9301 + ee29817 commit 9b2f299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.go
Expand Up @@ -1129,7 +1129,7 @@ func GetString(data []byte, keys ...string) (val string, err error) {
return "", fmt.Errorf("Value is not a string: %s", string(v))
}

// If no escapes return raw conten
// If no escapes return raw content
if bytes.IndexByte(v, '\\') == -1 {
return string(v), nil
}
Expand Down

0 comments on commit 9b2f299

Please sign in to comment.