Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit 9c90015

Browse files
committed
Update BaseGeneratorCommand.php
1 parent 5d24efa commit 9c90015

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command/BaseGeneratorCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function getSkeletonDirs(BundleInterface $bundle = null)
5757
$skeletonDirs[] = $dir;
5858
}
5959

60-
if (is_dir($dir = $this->getContainer()->get('kernel')->getRootdir().'/Resources/GeneratorBundle/skeleton')) {
60+
if (is_dir($dir = $this->getContainer()->get('kernel')->getProjectDir().'/Resources/GeneratorBundle/skeleton')) {
6161
$skeletonDirs[] = $dir;
6262
}
6363

0 commit comments

Comments
 (0)