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

@@ -303,7 +303,7 @@ export class Salesforce implements INodeType {
const userName = user.Name;
const userId = user.Id;
returnData.push({
name: userPrefix + userName,
name: userPrefix + (userName as string),
value: userId,
});
}
@@ -349,7 +349,7 @@ export class Salesforce implements INodeType {
const userName = user.Name;
const userId = user.Id;
returnData.push({
name: userPrefix + userName,
name: userPrefix + (userName as string),
value: userId,
});
}
@@ -1854,7 +1854,7 @@ export class Salesforce implements INodeType {
const dataBuffer = await this.helpers.getBinaryDataBuffer(i, binaryPropertyName);
body.entity_content.PathOnClient = `${title}.${
additionalFields.fileExtension || binaryData.fileExtension
additionalFields.fileExtension ?? binaryData.fileExtension
}`;
data = {
entity_content: {