mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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);
|
||||
|
||||
returnData.dir = filePathParts.dir;
|
||||
returnData.fileName = filePathParts.base;
|
||||
|
||||
// Remove the dot
|
||||
|
||||
Reference in New Issue
Block a user