Skip to content

Commit

Permalink
Add type drop
Browse files Browse the repository at this point in the history
  • Loading branch information
aliselcuk committed Mar 25, 2019
1 parent 0f28ca8 commit aa6f948
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/Installer/AddonInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
class AddonInstaller extends LibraryInstaller
{
/**
* Droplet types
* Addon types
*
* @var array
*/
protected $types = [
'addon',
'drop',
'agent',
'module',
'plugin',
Expand Down Expand Up @@ -68,15 +69,6 @@ public function getInstallPath(PackageInterface $package)

$vendorPath = "{$vendor}/{$type}s/{$name}";

/**
* if package already exists in workbench folder,
* that means it is under development, so we
* should return this path
*/
// if (file_exists("workbench/{$vendorPath}")) {
// return "workbench/{$vendorPath}";
// }

return "addons/{$vendorPath}";
}

Expand Down

0 comments on commit aa6f948

Please sign in to comment.