mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
ci: Upgrade eslint, prettier, typescript, and some other dev tooling (no-changelog) (#8895)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
committed by
GitHub
parent
117b57ccc5
commit
372d5c7d01
@@ -810,7 +810,7 @@ export async function proxyRequestToAxios(
|
||||
statusCode: response.status,
|
||||
statusMessage: response.statusText,
|
||||
request: response.request,
|
||||
}
|
||||
}
|
||||
: body;
|
||||
} catch (error) {
|
||||
const { config, response } = error;
|
||||
@@ -1042,7 +1042,7 @@ export function assertBinaryData(
|
||||
propertyName: string,
|
||||
inputIndex: number,
|
||||
): IBinaryData {
|
||||
const binaryKeyData = inputData.main[inputIndex]![itemIndex]!.binary;
|
||||
const binaryKeyData = inputData.main[inputIndex]![itemIndex].binary;
|
||||
if (binaryKeyData === undefined) {
|
||||
throw new NodeOperationError(
|
||||
node,
|
||||
@@ -1079,7 +1079,7 @@ export async function getBinaryDataBuffer(
|
||||
propertyName: string,
|
||||
inputIndex: number,
|
||||
): Promise<Buffer> {
|
||||
const binaryData = inputData.main[inputIndex]![itemIndex]!.binary![propertyName]!;
|
||||
const binaryData = inputData.main[inputIndex]![itemIndex].binary![propertyName];
|
||||
return await Container.get(BinaryDataService).getAsBuffer(binaryData);
|
||||
}
|
||||
|
||||
@@ -1940,7 +1940,7 @@ export function getAdditionalKeys(
|
||||
getAll(): Record<string, string> {
|
||||
return getAllWorkflowExecutionMetadata(runExecutionData);
|
||||
},
|
||||
}
|
||||
}
|
||||
: undefined,
|
||||
},
|
||||
$vars: additionalData.variables,
|
||||
@@ -3204,7 +3204,7 @@ const getFileSystemHelperFunctions = (node: INode): FileSystemHelperFunctions =>
|
||||
? new NodeOperationError(node, error, {
|
||||
message: `The file "${String(filePath)}" could not be accessed.`,
|
||||
level: 'warning',
|
||||
})
|
||||
})
|
||||
: error;
|
||||
}
|
||||
if (isFilePathBlocked(filePath as string)) {
|
||||
|
||||
Reference in New Issue
Block a user