From 82e36649ea8b114e8117504339f85d6b93055707 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sat, 13 Jan 2024 17:14:02 +0900 Subject: [PATCH] fixup! Validate sub tmp directory writable --- sl-src/Cache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/sl-src/Cache.php b/sl-src/Cache.php index 61834f03..fb95398a 100644 --- a/sl-src/Cache.php +++ b/sl-src/Cache.php @@ -36,6 +36,7 @@ public function __construct(string $tmpDir) if (! is_writable($tmpDir)) { throw new DirectoryNotWritableException($tmpDir); } + $this->tmpDir = $tmpDir; } /**