diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b041173..f24c8f7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,7 @@ jobs: - name: Get Composer cache directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache Composer dependencies uses: actions/cache@v4 diff --git a/src/Console/Commands/ModuleMakerCommand.php b/src/Console/Commands/ModuleMakerCommand.php index d42c12e..412ba0c 100644 --- a/src/Console/Commands/ModuleMakerCommand.php +++ b/src/Console/Commands/ModuleMakerCommand.php @@ -382,7 +382,7 @@ protected function getModuleRootDirectory(): string */ protected function rootNamespace() { - return 'Modules\\'; + return config('modularize.root_path').'\\'; } abstract protected function getFolderPath(): string;