Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Commit fd7683f

Browse files
author
atehnix
committed
Added check that the stub exists
1 parent 70c81df commit fd7683f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/StubsPublishCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function handle()
106106
*/
107107
protected function publishFile($from, $to)
108108
{
109-
if ($this->files->exists($to)) {
109+
if ($this->files->exists($to) || !$this->files->exists($from)) {
110110
return;
111111
}
112112

0 commit comments

Comments
 (0)