mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
10 lines
121 B
Go
10 lines
121 B
Go
package trap
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
func escapeString(s string) string {
|
|
return strings.Replace(s, "\"", "\"\"", -1)
|
|
}
|