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

@@ -34,7 +34,7 @@ async function getToken(
};
try {
const responseObject = await this.helpers.request!(options);
const responseObject = await this.helpers.request(options);
return responseObject.headers['x-jwt-token'];
} catch (error) {
throw new Error(
@@ -72,7 +72,7 @@ export async function formIoApiRequest(
};
try {
return this.helpers.request!.call(this, options);
return await this.helpers.request.call(this, options);
} catch (error) {
throw new NodeApiError(this.getNode(), error);
}