Browse Source

Always create the path

Mark S. 10 years ago
parent
commit
1f7a3a2774
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/Shell/Task/ExtractTask.php

+ 1 - 2
src/Shell/Task/ExtractTask.php

@@ -16,7 +16,6 @@ namespace Cake\Shell\Task;
 
 use Cake\Console\Shell;
 use Cake\Core\App;
-use Cake\Core\Configure;
 use Cake\Core\Plugin;
 use Cake\Filesystem\File;
 use Cake\Filesystem\Folder;
@@ -705,7 +704,7 @@ class ExtractTask extends Shell
      */
     protected function _isPathUsable($path)
     {
-        if (Configure::read('debug') && !is_dir($path)) {
+        if (!is_dir($path)) {
             mkdir($path, 0770, true);
         }
         return is_dir($path) && is_writable($path);