diff options
Diffstat (limited to 'deps/npm/test/tap/config-meta.js')
-rw-r--r-- | deps/npm/test/tap/config-meta.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/test/tap/config-meta.js b/deps/npm/test/tap/config-meta.js index faced80d99e..5e0c1b7e7c5 100644 --- a/deps/npm/test/tap/config-meta.js +++ b/deps/npm/test/tap/config-meta.js @@ -57,9 +57,9 @@ test("get lines", function (t) { matches.shift() matches.forEach(function (m) { m = m.split(")").shift() - var literal = m.match(/^['"].+['"]$/) + var literal = m.match(/^['"].+?['"]/) if (literal) { - m = m.slice(1, -1) + m = literal[0].slice(1, -1) if (!m.match(/^\_/) && m !== "argv") CONFS[m] = { file: f, |