We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89288d8 commit 270f37cCopy full SHA for 270f37c
lib/internal/Magento/Framework/Filesystem/Driver/File.php
@@ -195,16 +195,7 @@ public function getParentDirectory($path)
195
*/
196
public function createDirectory($path, $permissions)
197
{
198
- $result = $this->mkdirRecursive($path, $permissions);
199
- if (!$result) {
200
- throw new FileSystemException(
201
- new \Magento\Framework\Phrase(
202
- 'Directory "%1" cannot be created %2',
203
- [$path, $this->getWarningMessage()]
204
- )
205
- );
206
- }
207
- return $result;
+ return $this->mkdirRecursive($path, $permissions);
208
}
209
210
/**
0 commit comments