diff --git a/src/Foundation/Console/VendorPublishCommand.php b/src/Foundation/Console/VendorPublishCommand.php index 7d1cec47..be51876d 100644 --- a/src/Foundation/Console/VendorPublishCommand.php +++ b/src/Foundation/Console/VendorPublishCommand.php @@ -32,9 +32,9 @@ protected function status($from, $to, $type) $toLocation = $pathLocation($to); if ( + $type === 'directory' && $fromLocation === $toLocation && - is_link($to) && - $type === 'directory' + is_link($to) ) { $this->components->task('Synced directory');