Commit 97a5856d authored by Zeke Sikelianos's avatar Zeke Sikelianos

Merge pull request #98 from heroku/npm-cert-bug

npm cert bug
parents a0961870 4486ec5c
......@@ -75,6 +75,13 @@ elif test -d $cache_dir/node/node_modules; then
fi
# Handle npm's new cert bug
# http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more
if [ ! -f "$build_dir/.npmrc" ]; then
status "Writing a custom .npmrc to circumvent npm bugs"
echo "ca=" > "$build_dir/.npmrc"
fi
# Scope config var availability only to `npm install`
(
if [ -d "$env_dir" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment