Skip to content

Commit

Permalink
Fix path generation for assets:install
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannes Giesenow authored and hgiesenow committed Jul 25, 2024
1 parent 504f0e8 commit d5e8336
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ElbformatIconBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ class ElbformatIconBundle extends Bundle
{
public function getPath(): string
{
return dirname(__DIR__.'/..');
$path = realpath(__DIR__.'/..');
return false !== $path ? $path : __DIR__.'/..';
}

}

0 comments on commit d5e8336

Please sign in to comment.