Skip to content
Permalink
Browse files

Always create the path

  • Loading branch information...
dereuromark committed Jun 24, 2015
1 parent d84f99e commit 1f7a3a2774cd325eca04f9d5162bd0e989249394
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/Shell/Task/ExtractTask.php
@@ -16,7 +16,6 @@
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 @@ protected function _isExtractingApp()
*/
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);

0 comments on commit 1f7a3a2

Please sign in to comment.
You can’t perform that action at this time.