Revert "Only escape required characters (non-ASCII safe)"

This reverts commit be27c5057c.
This commit is contained in:
pyoor 2018-08-01 12:01:42 -04:00
parent be27c5057c
commit b2206ba0b2

View file

@ -32,9 +32,9 @@ class common extends utils {
static quote (s) {
if (typeof s === 'string') {
return `'${jsesc(s, {minimal: true})}'`
return `'${jsesc(s)}'`
} else {
return jsesc(s, {minimal: true})
return jsesc(s)
}
}