Browse Source

Update AbpIoSourceCodeStore.cs

pull/18914/head
Yunus Emre Kalkan 3 years ago
parent
commit
60fe904b1a
  1. 3
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs

3
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}");
}

Loading…
Cancel
Save