From 78d1851a9c181e695e203035398f090e2cbae4e5 Mon Sep 17 00:00:00 2001 From: Norby Baruani Date: Sun, 7 Jul 2024 22:43:55 +0200 Subject: [PATCH] fix module path --- .github/workflows/tests.yml | 2 +- src/Console/Commands/ModuleMakerCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;