Permalink
Browse files

Don't put array configs in the env for scripts

This breaks tests and such, now that the CA has GlobalSign as well
  • Loading branch information...
1 parent af4d95c commit 9e2fc4ccfd756c28f79b82b292c6a139fdef98dc @isaacs isaacs committed Sep 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/utils/lifecycle.js
View
@@ -252,7 +252,7 @@ function makeEnv (data, prefix, env) {
return
}
var value = npm.config.get(i)
- if (value instanceof Stream) return
+ if (value instanceof Stream || Array.isArray(value)) return
if (!value) value = ""
else if (typeof value !== "string") value = JSON.stringify(value)

0 comments on commit 9e2fc4c

Please sign in to comment.