Browse Source

Update NewCommand.cs

pull/10363/head
Yunus Emre Kalkan 4 years ago
parent
commit
80da11e0fc
  1. 2
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/NewCommand.cs
  2. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/ProjectCreationCommandBase.cs

2
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/NewCommand.cs

@ -84,9 +84,7 @@ namespace Volo.Abp.Cli.Commands
Logger.LogInformation($"'{projectName}' has been successfully created to '{projectArgs.OutputFolder}'");
#if !DEBUG
OpenRelatedWebPage(projectArgs, template, isTiered, commandLineArgs);
#endif
}
public string GetUsageInfo()

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

@ -206,6 +206,10 @@ namespace Volo.Abp.Cli.Commands
bool isTiered,
CommandLineArgs commandLineArgs)
{
#if DEBUG
return;
#endif
if (AppTemplateBase.IsAppTemplate(template))
{
var isCommercial = template == AppProTemplate.TemplateName;

Loading…
Cancel
Save