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(); }