refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)

This commit is contained in:
Michael Kret
2023-01-13 19:11:56 +02:00
committed by GitHub
parent d7732ea150
commit 6608e69457
254 changed files with 2687 additions and 2675 deletions

View File

@@ -286,7 +286,7 @@ export class Jira implements INodeType {
if (user.active) {
activeUsers.push({
name: user.displayName as string,
value: (user.accountId || user.name) as string,
value: (user.accountId ?? user.name) as string,
});
}
return activeUsers;
@@ -684,7 +684,7 @@ export class Jira implements INodeType {
qs.expand = additionalFields.expand as string;
}
if (simplifyOutput) {
qs.expand = `${qs.expand || ''},names`;
qs.expand = `${qs.expand ?? ''},names`;
}
if (additionalFields.properties) {
qs.properties = additionalFields.properties as string;
@@ -702,7 +702,7 @@ export class Jira implements INodeType {
if (simplifyOutput) {
// Use rendered fields if requested and available
qs.expand = qs.expand || '';
qs.expand = qs.expand ?? '';
if (
(qs.expand as string).toLowerCase().indexOf('renderedfields') !== -1 &&
responseData.renderedFields &&