Skip to content

Commit

Permalink
Use plugin's name instead of displayName in plugin-download
Browse files Browse the repository at this point in the history
  • Loading branch information
jajm committed Sep 4, 2017
1 parent 96b740b commit 5480ed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function find($pluginName)

public function download($plugin, $destDir)
{
$dest = $destDir . '/' . $plugin['displayName'];
$dest = $destDir . '/' . $plugin['name'];
if (file_exists($dest))
throw new \Exception("destination $dest already exists");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function find($pluginName)

public function download($plugin, $destDir)
{
$pluginName = $plugin['displayName'];
$pluginName = $plugin['name'];
$plugin = $this->findPlugin($pluginName);

if (!$plugin) {
Expand Down

0 comments on commit 5480ed4

Please sign in to comment.