Browse Source

Update ProjectCreationCommandBase.cs

pull/13306/head
Engincan VESKE 4 years ago
parent
commit
36fb7e5685
  1. 3
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/ProjectCreationCommandBase.cs

3
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/ProjectCreationCommandBase.cs

@ -109,7 +109,7 @@ public abstract class ProjectCreationCommandBase
Logger.LogInformation("Theme: " + theme);
}
var themeStyle = theme.HasValue ? GetThemeStyleOrNull(commandLineArgs) : (ThemeStyle?)null;
var themeStyle = theme.HasValue ? GetThemeStyleOrNull(commandLineArgs, theme.Value) : (ThemeStyle?)null;
if(themeStyle.HasValue)
{
Logger.LogInformation("Theme Style: " + themeStyle);
@ -596,7 +596,6 @@ public abstract class ProjectCreationCommandBase
case Theme.NotSpecified:
case Theme.LeptonXLite:
case Theme.LeptonX:
case null:
break;
default:
throw new CliUsageException(ExceptionMessageHelper.GetInvalidOptionExceptionMessage(Options.Theme.Long));

Loading…
Cancel
Save