Skip to content

Commit 7faedf1

Browse files
juanparatiJuan Lago
andauthored
Prevent to raise an exception when compiled blade template was already removed. (#48957)
Co-authored-by: Juan Lago <juan@leadsupply.com>
1 parent 0ff1229 commit 7faedf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/View/Compilers/BladeCompiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function render()
332332

333333
return tap($view->render(), function () use ($view, $deleteCachedView) {
334334
if ($deleteCachedView) {
335-
unlink($view->getPath());
335+
@unlink($view->getPath());
336336
}
337337
});
338338
}

0 commit comments

Comments
 (0)