mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
🐛 Do not error if expression on text resolves to undefined
This commit is contained in:
@@ -511,7 +511,7 @@ export class EditImage implements INodeType {
|
||||
const lineLength = this.getNodeParameter('lineLength') as number;
|
||||
const positionX = this.getNodeParameter('positionX') as number;
|
||||
const positionY = this.getNodeParameter('positionY') as number;
|
||||
const text = this.getNodeParameter('text') as string;
|
||||
const text = this.getNodeParameter('text') as string || '';
|
||||
|
||||
// Split the text in multiple lines
|
||||
const lines: string[] = [];
|
||||
|
||||
Reference in New Issue
Block a user