Skip to content

Commit

Permalink
Merge pull request #13 from open-sausages/pulls/1/fix-nonvendor-bug
Browse files Browse the repository at this point in the history
BUG Fix symlinks failing on non-vendor modules
  • Loading branch information
dhensby authored Jan 17, 2018
2 parents 38af368 + 1e56267 commit 796fa41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Library.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class Library
*/
public function __construct($basePath, $libraryPath, $name = null)
{
$this->basePath = $basePath;
$this->path = $libraryPath;
$this->basePath = realpath($basePath);
$this->path = realpath($libraryPath);
$this->name = $name;
}

Expand Down
1 change: 0 additions & 1 deletion src/VendorPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Composer\EventDispatcher\EventSubscriberInterface;
use Composer\Factory;
use Composer\Installer\PackageEvent;
use Composer\Installers\Installer;
use Composer\IO\IOInterface;
use Composer\Package\PackageInterface;
use Composer\Plugin\Capability\CommandProvider;
Expand Down

0 comments on commit 796fa41

Please sign in to comment.