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] committed May 11, 2021
1 parent c864f6d commit de2447b
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-speech/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-speech/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-speech/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 de2447b

Please sign in to comment.