Skip to content

Commit

Permalink
chore: new owl bot post processor docker image (#745)
Browse files Browse the repository at this point in the history
gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:f93bb861d6f12574437bb9aee426b71eafd63b419669ff0ed029f4b7e7162e3f

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 11, 2021
1 parent dacb725 commit a567005
Show file tree
Hide file tree
Showing 9 changed files with 233 additions and 281 deletions.
24 changes: 12 additions & 12 deletions packages/google-cloud-node/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 24 additions & 24 deletions packages/google-cloud-node/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions packages/google-cloud-node/src/v1/speech_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,14 @@ export class SpeechClient {
];
for (const methodName of speechStubMethods) {
const callPromise = this.speechStub.then(
stub => (...args: Array<{}>) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
const func = stub[methodName];
return func.apply(stub, args);
},
stub =>
(...args: Array<{}>) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
const func = stub[methodName];
return func.apply(stub, args);
},
(err: Error | null | undefined) => () => {
throw err;
}
Expand Down
Loading

0 comments on commit a567005

Please sign in to comment.