refactor: Run lintfix (no-changelog) (#7537)

- Fix autofixable violations
- Remove unused directives
- Allow for PascalCased variables - needed for dynamically imported or
assigned classes, decorators, routers, etc.
This commit is contained in:
Iván Ovejero
2023-10-27 14:15:02 +02:00
committed by GitHub
parent 1c4ac02db5
commit 62c096710f
477 changed files with 706 additions and 1003 deletions

View File

@@ -60,10 +60,7 @@ export async function jiraSoftwareCloudApiRequest(
try {
return await this.helpers.requestWithAuthentication.call(this, credentialType, options);
} catch (error) {
if (
error.description?.includes &&
error.description.includes("Field 'priority' cannot be set")
) {
if (error.description?.includes?.("Field 'priority' cannot be set")) {
throw new NodeApiError(this.getNode(), error as JsonObject, {
message:
"Field 'priority' cannot be set. You need to add the Priority field to your Jira Project's Issue Types.",