From ca350447d14d6325d5633465477df33adc85854b Mon Sep 17 00:00:00 2001 From: arnebr Date: Sun, 16 Jun 2024 14:52:34 +0000 Subject: [PATCH] chore: Update package name in README.md and fix typo in Laravel --- README.md | 2 +- src/Commands/SqliteBackupCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f680d53..de2cc7e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/ahoicloud/laravel-sqlite-optimize/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/ahoicloud/laravel-sqlite-optimize/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) [![Total Downloads](https://img.shields.io/packagist/dt/ahoicloud/laravel-sqlite-optimize.svg?style=flat-square)](https://packagist.org/packages/ahoicloud/laravel-sqlite-optimize) -This package should optimize SQLite for usage in Larvel. Inspired by the Article from [Italo Baeza Cabrera](https://medium.com/swlh/laravel-optimizing-sqlite-to-dangerous-speeds-ff04111b1f22) +This package should optimize SQLite for usage in Laravel. Inspired by the Article from [Italo Baeza Cabrera](https://medium.com/swlh/laravel-optimizing-sqlite-to-dangerous-speeds-ff04111b1f22) ## Installation diff --git a/src/Commands/SqliteBackupCommand.php b/src/Commands/SqliteBackupCommand.php index e11c4f6..5ad8e0b 100644 --- a/src/Commands/SqliteBackupCommand.php +++ b/src/Commands/SqliteBackupCommand.php @@ -32,7 +32,7 @@ public function handle(): int $backupPath = database_path('backups'); // Create the backup directory if it doesn't exist - if (File::isDirectory($backupPath)) { + if (File::isDirectory($backupPath)===false) { $this->info('Backup directory created at: '.$backupPath); File::makeDirectory($backupPath); }