From 60fe904b1a425cd62121f2a38d9c38cc996d6b65 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Thu, 1 Feb 2024 10:45:32 +0300 Subject: [PATCH] Update AbpIoSourceCodeStore.cs --- .../Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs index 0415b088cc..40a15bad65 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs @@ -140,9 +140,8 @@ public class AbpIoSourceCodeStore : ISourceCodeStore, ITransientDependency ? $"> dotnet tool install -g volo.abp.cli --version \"{templateVersion.Major}.{templateVersion.Minor}.*\"" : $"> dotnet tool install -g volo.abp.cli --version {templateVersion}"); - if (!userSpecifiedVersion) + if (userSpecifiedVersion) { - version = currentCliVersion.ToString(); Logger.LogWarning($"We have changed the template version as the cli version."); Logger.LogWarning($"New version: {version}"); }