Skip to content

Commit 01c922e

Browse files
committed
Updated fiquela library
1 parent a5376d5 commit 01c922e

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎composer.lock‎

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/Cli/Application.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
class Application
66
{
7-
public const VERSION = '2.0.5';
7+
public const VERSION = '2.0.6';
88
public const NAME = 'FiQueLa CLI';
99
}

‎src/Cli/Query/LocalQueryExecutor.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ public function execute(string $query, ?int $page = null, ?int $itemsPerPage = n
4848
$rowsWritten = $totalCount;
4949

5050
try {
51-
$targetFile = $results->into($into) ?? $into->file;
51+
$targetFile = $results->into($into) ?? $into;
5252
} catch (\Throwable) {
5353
$targetFile = $into->file;
5454
$status = 'failed';
5555
$rowsWritten = 0;
5656
}
5757

5858
$elapsed = microtime(true) - $timerStart;
59-
$path = $targetFile ?? '';
59+
$path = $targetFile->file ?? '';
6060
$name = $path !== '' ? basename($path) : '';
6161
$size = ($path !== '' && file_exists($path)) ? (filesize($path) ?: 0) : 0;
6262
$intoRow = [

0 commit comments

Comments
 (0)