Skip to content

Commit

Permalink
build: add **/*.d.ts to coverage ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and bcoe committed Jan 3, 2020
1 parent f08f6e8 commit 42c7222
Show file tree
Hide file tree
Showing 3 changed files with 1,473 additions and 1,193 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ export class PhishingProtectionServiceV1Beta1Client {
for (const methodName of phishingProtectionServiceV1Beta1StubMethods) {
const innerCallPromise = this.phishingProtectionServiceV1Beta1Stub.then(
stub => (...args: Array<{}>) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
return stub[methodName].apply(stub, args);
},
(err: Error | null | undefined) => () => {
Expand All @@ -197,9 +200,6 @@ export class PhishingProtectionServiceV1Beta1Client {
callOptions?: CallOptions,
callback?: APICallback
) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
return apiCall(argument, callOptions, callback);
};
}
Expand Down
Loading

0 comments on commit 42c7222

Please sign in to comment.