From 1f2271ec2be7daba00ce025dbbb25a988caf4796 Mon Sep 17 00:00:00 2001 From: Darshan Date: Wed, 2 Jul 2025 19:48:24 +0530 Subject: [PATCH] fix: path? --- src/Migration/Sources/CSV.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Migration/Sources/CSV.php b/src/Migration/Sources/CSV.php index aee145d9..3d18dbc3 100644 --- a/src/Migration/Sources/CSV.php +++ b/src/Migration/Sources/CSV.php @@ -39,6 +39,9 @@ public function __construct( $this->filePath = $filePath; $this->resourceId = $resourceId; $this->database = new DatabaseReader($dbForProject); + + // full path + $this->filePath = str_ireplace($device->getRoot(), $device->getRoot() . DIRECTORY_SEPARATOR, $filePath); } public static function getName(): string