From cdff8dded16e9d41199bb61202d41eb51132bb7b Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Fri, 9 Dec 2022 13:03:30 +0100 Subject: [PATCH] fixed: use directory for storeIn --- src/BaseCompiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BaseCompiler.php b/src/BaseCompiler.php index abac33f..4e38165 100644 --- a/src/BaseCompiler.php +++ b/src/BaseCompiler.php @@ -52,7 +52,7 @@ abstract class BaseCompiler implements Responsable { $contents = $this->file->getContent(); - Storage::disk($disk)->put($this->file->getFilename(), $contents); + Storage::disk($disk)->put($directory.'/'.$this->file->getFilename(), $contents); return $this->file->getFilename(); }