Skip to content

Commit

Permalink
refactor: change $localPluginPath path
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Jul 29, 2024
1 parent f913156 commit b033e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Impl/AppStoreServiceImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function getOtherApp(string $username): array
*/
public function download(string $space, string $identifier, string $version): bool
{
$localPluginPath = Plugin::PLUGIN_PATH . DIRECTORY_SEPARATOR . $space . DIRECTORY_SEPARATOR . $identifier;
$localPluginPath = Plugin::PLUGIN_PATH . DIRECTORY_SEPARATOR . $identifier;
if (file_exists($localPluginPath)) {
throw new \RuntimeException(sprintf('The plugin %s already exists', $identifier));
}
Expand Down

0 comments on commit b033e4b

Please sign in to comment.