Skip to content

Commit 1536c4c

Browse files
author
Nils Langner
committed
Added recursive mkdir
1 parent 57abe5e commit 1536c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/VisualCeption.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private function getScreenshotPath ($identifier)
116116
{
117117
$debugDir = \Codeception\Configuration::logDir() . 'debug/tmp/';
118118
if (! is_dir($debugDir)) {
119-
mkdir($debugDir, 0666);
119+
mkdir($debugDir, 0666, true);
120120
}
121121
return $debugDir . $this->getScreenshotName($identifier);
122122
}

0 commit comments

Comments
 (0)