Skip to content

Commit

Permalink
[CS] Moved ensureDirectoryExists to the end of ctor
Browse files Browse the repository at this point in the history
Co-Authored-By: Adam Wójs <adamwojs@users.noreply.github.com>
  • Loading branch information
alongosz and adamwojs committed Dec 22, 2022
1 parent b649fe6 commit 9d97014
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public function __construct(
$this->visibility = $visibilityConverter;
$this->writeFlags = $writeFlags;
$this->linkHandling = $linkHandling;
$this->ensureDirectoryExists($location, $this->visibility->defaultForDirectories());
$this->mimeTypeDetector = $mimeTypeDetector;
$this->ensureDirectoryExists($location, $this->visibility->defaultForDirectories());
}

public function fileExists(string $path): bool
Expand Down

0 comments on commit 9d97014

Please sign in to comment.