mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -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) => {
|
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,
|
||||||
|
|
Loading…
Reference in a new issue