Skip to content

Commit

Permalink
Solve issue when install nabu-public packages
Browse files Browse the repository at this point in the history
  • Loading branch information
wiscot committed Mar 9, 2017
1 parent fa1f2bd commit f34df55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nabu3/Composer/NabuComposerInstaller.php
Expand Up @@ -60,7 +60,7 @@ public function getInstallPath(PackageInterface $package)
$path = self::PUB_PATH . DIRECTORY_SEPARATOR . self::RUNTIME_PATH . DIRECTORY_SEPARATOR . str_replace('-', DIRECTORY_SEPARATOR, substr($name, 15));
break;
case 'nabu-public':
$path = self::PUB_PATH . substr($name, 7);
$path = self::PUB_PATH . DIRECTORY_SEPARATOR . substr($name, 7);
break;
default:
throw new \InvalidArgumentException(
Expand Down

0 comments on commit f34df55

Please sign in to comment.