Browse Source
Merge pull request #1305 from Xeevis/cli
Refactor CliService.cs
pull/1308/head
maliming
7 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/CliService.cs
|
|
@ -40,7 +40,6 @@ namespace Volo.Abp.Cli |
|
|
public async Task RunAsync(string[] args) |
|
|
public async Task RunAsync(string[] args) |
|
|
{ |
|
|
{ |
|
|
Logger.LogInformation("ABP CLI (https://abp.io)"); |
|
|
Logger.LogInformation("ABP CLI (https://abp.io)"); |
|
|
Logger.LogInformation("https://abp.io"); |
|
|
|
|
|
|
|
|
|
|
|
await CheckCliVersionAsync(); |
|
|
await CheckCliVersionAsync(); |
|
|
CheckDependencies(); |
|
|
CheckDependencies(); |
|
|
@ -191,6 +190,7 @@ namespace Volo.Abp.Cli |
|
|
|
|
|
|
|
|
case UpdateChannel.Nightly: |
|
|
case UpdateChannel.Nightly: |
|
|
return await NuGetService.GetLatestVersionOrNullAsync("Volo.Abp.Cli", includeNightly: true); |
|
|
return await NuGetService.GetLatestVersionOrNullAsync("Volo.Abp.Cli", includeNightly: true); |
|
|
|
|
|
|
|
|
default: |
|
|
default: |
|
|
return default; |
|
|
return default; |
|
|
} |
|
|
} |
|
|
|