ci: Fix linting issues (no-changelog) (#6788)

* ci: Fix linting (no-changelog)

* lintfix for nodes-base as well
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-07-28 18:28:17 +02:00
committed by GitHub
parent 4e491b754f
commit 6fb8a9ee39
40 changed files with 204 additions and 154 deletions

View File

@@ -185,7 +185,7 @@ export class BinaryDataManager {
}
async duplicateBinaryData(
inputData: Array<INodeExecutionData[] | null> | unknown,
inputData: Array<INodeExecutionData[] | null>,
executionId: string,
): Promise<INodeExecutionData[][]> {
if (inputData && this.managers[this.binaryDataMode]) {

View File

@@ -77,7 +77,7 @@ export async function getEncryptionKey(): Promise<string> {
const userSettings = await getUserSettings();
if (userSettings === undefined || userSettings.encryptionKey === undefined) {
if (userSettings?.encryptionKey === undefined) {
throw new Error(RESPONSE_ERROR_MESSAGES.NO_ENCRYPTION_KEY);
}