Skip to content

Commit

Permalink
fixed input path
Browse files Browse the repository at this point in the history
  • Loading branch information
vossik authored Jun 2, 2021
1 parent 0dd385b commit b0f5821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/SqlGeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ private function getForeignKey(\ReflectionProperty $property) : ?string
private function getBeans(string $destination) : array
{
$robotLoader = new \Nette\Loaders\RobotLoader();
$robotLoader->addDirectory(__DIR__ . $destination);
$robotLoader->addDirectory($destination);
$robotLoader->rebuild();

$foundClasses = \array_keys($robotLoader->getIndexedClasses());
Expand Down

0 comments on commit b0f5821

Please sign in to comment.