Skip to content

Commit

Permalink
Prevent to raise an exception when compiled blade template was alread…
Browse files Browse the repository at this point in the history
…y removed. (#48957)

Co-authored-by: Juan Lago <juan@leadsupply.com>
  • Loading branch information
juanparati and Juan Lago authored Nov 10, 2023
1 parent 0ff1229 commit 7faedf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/Compilers/BladeCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public function render()

return tap($view->render(), function () use ($view, $deleteCachedView) {
if ($deleteCachedView) {
unlink($view->getPath());
@unlink($view->getPath());
}
});
}
Expand Down

0 comments on commit 7faedf1

Please sign in to comment.