Browse Source

Update AbpIoSourceCodeStore.cs

pull/10848/head
liangshiwei 4 years ago
parent
commit
04b3ee9848
  1. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs

4
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs

@ -90,7 +90,7 @@ namespace Volo.Abp.Cli.ProjectBuilding
}
}
var nugetVersion = await GetTemplateNugetVersionAsync(name, type, version);
var nugetVersion = (await GetTemplateNugetVersionAsync(name, type, version)) ?? version;
if (!string.IsNullOrWhiteSpace(templateSource) && !IsNetworkSource(templateSource))
{
@ -332,4 +332,4 @@ namespace Volo.Abp.Cli.ProjectBuilding
public DateTime PublishTime { get; set; }
}
}
}
}

Loading…
Cancel
Save