mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
get also the dir data of the path
This commit is contained in:
parent
bc66fab041
commit
8f318de288
|
@ -103,6 +103,7 @@ export async function prepareBinaryData(binaryData: Buffer, filePath?: string, m
|
|||
|
||||
const filePathParts = path.parse(filePath as string);
|
||||
|
||||
returnData.dir = filePathParts.dir;
|
||||
returnData.fileName = filePathParts.base;
|
||||
|
||||
// Remove the dot
|
||||
|
|
Loading…
Reference in a new issue