Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/config-meta.js')
-rw-r--r--deps/npm/test/tap/config-meta.js4
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,