diff --git a/src/Commands/Import.php b/src/Commands/Import.php index a724a92..2668ca4 100644 --- a/src/Commands/Import.php +++ b/src/Commands/Import.php @@ -127,9 +127,8 @@ class Import extends Command // Remove existing files directory or create it if missing if (is_dir($destFilesDir)) { exec("rm -rf " . escapeshellarg($destFilesDir)); - } else { - mkdir($destFilesDir, 0755, true); } + mkdir($destFilesDir, 0755, true); exec( sprintf(