Skip to content

Commit

Permalink
Prevent double root dir checking when using lazy root directory creat…
Browse files Browse the repository at this point in the history
…ion for the local filesystem.
  • Loading branch information
frankdejonge committed Nov 18, 2023
1 parent f7669a7 commit 40581f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Local/LocalFilesystemAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ private function ensureRootDirectoryExists(): void
}

$this->ensureDirectoryExists($this->rootLocation, $this->visibility->defaultForDirectories());
$this->rootLocationIsSetup = true;
}

public function write(string $path, string $contents, Config $config): void
Expand Down

0 comments on commit 40581f2

Please sign in to comment.