From d6e9c6a003b9fab96588f643c99c0b5d4e89b426 Mon Sep 17 00:00:00 2001 From: masumulu28 Date: Fri, 22 Mar 2024 04:03:13 +0300 Subject: [PATCH] Rename variables name --- .../Abp/Cli/Commands/ProjectCreationCommandBase.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/ProjectCreationCommandBase.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/ProjectCreationCommandBase.cs index 00339bf7cf..15556c8394 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/ProjectCreationCommandBase.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/ProjectCreationCommandBase.cs @@ -756,10 +756,10 @@ public abstract class ProjectCreationCommandBase return; } - var projectRootpath = Directory.GetCurrentDirectory(); - var projectUiFramework = FindMicroserviceSolutionUiFramework(projectRootpath); + var rootPath = Directory.GetCurrentDirectory(); + var uiFramework = FindMicroserviceSolutionUiFramework(rootPath); - if (projectUiFramework != UiFramework.Angular) + if (uiFramework != UiFramework.Angular) { return; } @@ -768,10 +768,10 @@ public abstract class ProjectCreationCommandBase var libraryName = projectArgs.SolutionName.ProjectName.ToKebabCase(); - var hostAppPath = Path.Combine(projectRootpath, "apps", "angular"); - var angularLibraryPath = Path.Combine(hostAppPath, "projects", libraryName); + var angularAppPath = Path.Combine(rootPath, "apps", "angular"); + var angularLibraryPath = Path.Combine(angularAppPath, "projects", libraryName); - await GenerateAngularLibraryForNewMicroserviceAsync(libraryName, hostAppPath); + await GenerateAngularLibraryForNewMicroserviceAsync(libraryName, angularAppPath); try {