mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
fix(core): Revert rule @typescript-eslint/prefer-nullish-coalescing
This commit is contained in:
@@ -490,8 +490,8 @@ export class GoogleSheetsTrigger implements INodeType {
|
||||
}
|
||||
|
||||
const [rangeFrom, rangeTo] = range.split(':');
|
||||
const cellDataFrom = rangeFrom.match(/([a-zA-Z]{1,10})([0-9]{0,10})/) ?? [];
|
||||
const cellDataTo = rangeTo.match(/([a-zA-Z]{1,10})([0-9]{0,10})/) ?? [];
|
||||
const cellDataFrom = rangeFrom.match(/([a-zA-Z]{1,10})([0-9]{0,10})/) || [];
|
||||
const cellDataTo = rangeTo.match(/([a-zA-Z]{1,10})([0-9]{0,10})/) || [];
|
||||
|
||||
if (rangeDefinition === 'specifyRangeA1' && cellDataFrom[2] !== undefined) {
|
||||
keyRange = `${cellDataFrom[1]}${+cellDataFrom[2]}:${cellDataTo[1]}${+cellDataFrom[2]}`;
|
||||
@@ -544,7 +544,7 @@ export class GoogleSheetsTrigger implements INodeType {
|
||||
return null;
|
||||
}
|
||||
|
||||
const addedRows = sheetData?.slice(workflowStaticData.lastIndexChecked as number) ?? [];
|
||||
const addedRows = sheetData?.slice(workflowStaticData.lastIndexChecked as number) || [];
|
||||
const returnData = arrayOfArraysToJson(addedRows, columns);
|
||||
|
||||
workflowStaticData.lastIndexChecked = sheetData.length;
|
||||
|
||||
Reference in New Issue
Block a user