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

@@ -717,7 +717,7 @@ export class Wait implements INodeType {
const fileJson = file.toJSON();
returnItem.binary![binaryPropertyName] = await this.helpers.copyBinaryFile(
file.path,
fileJson.name || fileJson.filename,
fileJson.name ?? fileJson.filename,
fileJson.type as string,
);
@@ -747,7 +747,7 @@ export class Wait implements INodeType {
},
};
const binaryPropertyName = (options.binaryPropertyName || 'data') as string;
const binaryPropertyName = (options.binaryPropertyName ?? 'data') as string;
returnItem.binary![binaryPropertyName] = await this.helpers.copyBinaryFile(
binaryFile.path,
mimeType,