change minor mistake of spelling
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 7c3657065cc04af278a0f1cee99de8c2401ba0ef Component: engine
This commit is contained in:
@ -77,7 +77,7 @@ func quote(word string, buf *bytes.Buffer) {
|
||||
for i := 0; i < len(word); i++ {
|
||||
b := word[i]
|
||||
if b == '\'' {
|
||||
// Replace literal ' with a close ', a \', and a open '
|
||||
// Replace literal ' with a close ', a \', and an open '
|
||||
buf.WriteString("'\\''")
|
||||
} else {
|
||||
buf.WriteByte(b)
|
||||
|
||||
Reference in New Issue
Block a user