Browse Source
Merge pull request #4273 from abpframework/liangshiwei/abp-cli-patch-1
No longer get the last version after the specified version
pull/4290/head
maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs
|
|
|
@ -55,7 +55,7 @@ namespace Volo.Abp.Cli.ProjectBuilding |
|
|
|
string templateSource = null) |
|
|
|
{ |
|
|
|
DirectoryHelper.CreateIfNotExists(CliPaths.TemplateCache); |
|
|
|
var latestVersion = await GetLatestSourceCodeVersionAsync(name, type); |
|
|
|
var latestVersion = version ?? await GetLatestSourceCodeVersionAsync(name, type); |
|
|
|
|
|
|
|
if (version == null) |
|
|
|
{ |
|
|
|
|