mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
⚡ Small improvement on EditImage-Node
This commit is contained in:
parent
eafbe424b9
commit
c4518f8f17
|
@ -785,6 +785,10 @@ export class EditImage implements INodeType {
|
|||
|
||||
files.forEach((file: string) => {
|
||||
const pathParts = pathParse(file);
|
||||
if (!pathParts.ext) {
|
||||
return;
|
||||
}
|
||||
|
||||
returnData.push({
|
||||
name: pathParts.name,
|
||||
value: file,
|
||||
|
|
Loading…
Reference in a new issue