mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
get also the dir data of the path
This commit is contained in:
@@ -103,6 +103,7 @@ export async function prepareBinaryData(binaryData: Buffer, filePath?: string, m
|
|||||||
|
|
||||||
const filePathParts = path.parse(filePath as string);
|
const filePathParts = path.parse(filePath as string);
|
||||||
|
|
||||||
|
returnData.dir = filePathParts.dir;
|
||||||
returnData.fileName = filePathParts.base;
|
returnData.fileName = filePathParts.base;
|
||||||
|
|
||||||
// Remove the dot
|
// Remove the dot
|
||||||
|
|||||||
Reference in New Issue
Block a user