From b2206ba0b2535d7e5e054c41a6df3925f63f783a Mon Sep 17 00:00:00 2001 From: pyoor Date: Wed, 1 Aug 2018 12:01:42 -0400 Subject: [PATCH] Revert "Only escape required characters (non-ASCII safe)" This reverts commit be27c5057c0b0e4546b07adac07434f50f3bf3c6. --- lib/utils/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/common.js b/lib/utils/common.js index 7e1f278..f9b3101 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, {minimal: true})}'` + return `'${jsesc(s)}'` } else { - return jsesc(s, {minimal: true}) + return jsesc(s) } }