Skip to content

Commit

Permalink
Make npm install timeout configurable (#1343)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Sep 18, 2018
1 parent 307f4f8 commit 5bf00c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/npm-install-retry.js
Expand Up @@ -6,7 +6,7 @@ let spawn = require('child_process').spawn;
//USE: ./index.js <ms npm can be idle> <number of attempts> [... NPM ARGS]
//

let timeout = process.argv[2] || 60000;
let timeout = process.argv[2] || process.env.NPM_INSTALL_TIMEOUT || 60000;
let attempts = process.argv[3] || 3;
let args = process.argv.slice(4);
if (args.length === 0) {
Expand Down

0 comments on commit 5bf00c2

Please sign in to comment.