From 5850f700494b893381716f0ea331fcc94f84c89d Mon Sep 17 00:00:00 2001 From: DPE bot Date: Mon, 24 Sep 2018 11:12:34 -0700 Subject: [PATCH] Re-generate library using /synth.py (#127) * Re-generate library using /synth.py * inject TRANSLATE_API_KEY to kokoro builds via pre-system-test hook (#128) --- packages/google-cloud-translate/.circleci/npm-install-retry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google-cloud-translate/.circleci/npm-install-retry.js b/packages/google-cloud-translate/.circleci/npm-install-retry.js index ae3220d7348..3240aa2cbf2 100755 --- a/packages/google-cloud-translate/.circleci/npm-install-retry.js +++ b/packages/google-cloud-translate/.circleci/npm-install-retry.js @@ -6,7 +6,7 @@ let spawn = require('child_process').spawn; //USE: ./index.js [... 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) {