diff --git a/lib/utils/common.js b/lib/utils/common.js index f9b3101..7e1f278 100644 --- a/lib/utils/common.js +++ b/lib/utils/common.js @@ -32,9 +32,9 @@ class common extends utils { static quote (s) { if (typeof s === 'string') { - return `'${jsesc(s)}'` + return `'${jsesc(s, {minimal: true})}'` } else { - return jsesc(s) + return jsesc(s, {minimal: true}) } }