mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Small improvement on EditImage-Node
This commit is contained in:
@@ -785,6 +785,10 @@ export class EditImage implements INodeType {
|
|||||||
|
|
||||||
files.forEach((file: string) => {
|
files.forEach((file: string) => {
|
||||||
const pathParts = pathParse(file);
|
const pathParts = pathParse(file);
|
||||||
|
if (!pathParts.ext) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
returnData.push({
|
returnData.push({
|
||||||
name: pathParts.name,
|
name: pathParts.name,
|
||||||
value: file,
|
value: file,
|
||||||
|
|||||||
Reference in New Issue
Block a user