ci: Fix linting issues on master (no-changelog) (#5030)

* make CI logs less noisy. suppress linting warning

* fix linting issues
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-12-23 19:09:52 +01:00
committed by GitHub
parent a8f4efaf3e
commit a229788d4b
131 changed files with 177 additions and 173 deletions

View File

@@ -55,9 +55,9 @@ export async function googleApiRequest(
credentials as unknown as IGoogleAuthCredentials,
);
options.headers.Authorization = `Bearer ${access_token}`;
return await this.helpers.request!(options);
return await this.helpers.request(options);
} else {
return await this.helpers.requestOAuth2!.call(this, 'googleSlidesOAuth2Api', options);
return await this.helpers.requestOAuth2.call(this, 'googleSlidesOAuth2Api', options);
}
} catch (error) {
if (error.code === 'ERR_OSSL_PEM_NO_START_LINE') {
@@ -117,5 +117,5 @@ async function getAccessToken(
json: true,
};
return this.helpers.request!(options);
return this.helpers.request(options);
}