Skip to content

Commit

Permalink
Fixed wrong call of composer\config::get()
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Mar 23, 2017
1 parent c98f1ba commit e1bea13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public function getBaseDir()
public function getVendorDir()
{
if ($this->vendorDir === null) {
$dir = $this->composer->getConfig()->get('vendor-dir', '/');
$dir = $this->composer->getConfig()->get('vendor-dir');
$this->vendorDir = $this->getFilesystem()->normalizePath($dir);
}

Expand Down

0 comments on commit e1bea13

Please sign in to comment.