Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Re-generate library using /synth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dpebot committed Sep 21, 2018
1 parent 6b14efa commit 53ee487
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/npm-install-retry.js
Original file line number Diff line number Diff line change
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
7 changes: 7 additions & 0 deletions .kokoro/presubmit/node8/samples-test.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Download resources for system tests (service account key, etc.)
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-language/.kokoro/samples-test.sh"
}
7 changes: 7 additions & 0 deletions .kokoro/presubmit/node8/system-test.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Download resources for system tests (service account key, etc.)
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-language/.kokoro/system-test.sh"
}
3 changes: 1 addition & 2 deletions smoke-test/language_service_smoke_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ describe('LanguageServiceSmokeTest', () => {
content: content,
type: type,
};
client
.analyzeSentiment({document: document})
client.analyzeSentiment({document: document})
.then(responses => {
const response = responses[0];
console.log(response);
Expand Down
2 changes: 1 addition & 1 deletion src/v1/language_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class LanguageServiceClient {
'classifyText',
'annotateText',
];
for (const methodName of languageServiceStubMethods) {
for (let methodName of languageServiceStubMethods) {
this._innerApiCalls[methodName] = gax.createApiCall(
languageServiceStub.then(
stub =>
Expand Down
2 changes: 1 addition & 1 deletion src/v1beta2/language_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class LanguageServiceClient {
'classifyText',
'annotateText',
];
for (const methodName of languageServiceStubMethods) {
for (let methodName of languageServiceStubMethods) {
this._innerApiCalls[methodName] = gax.createApiCall(
languageServiceStub.then(
stub =>
Expand Down

0 comments on commit 53ee487

Please sign in to comment.