Revert "Only escape required characters (non-ASCII safe)"
This reverts commit be27c5057c
.
This commit is contained in:
parent
be27c5057c
commit
b2206ba0b2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue