fix(Abp.Cli): No need to double check sdk in `bundle` command

pull/10569/head
Berkan Sasmaz 4 years ago
parent 2fdbb3e9c0
commit 1bc2d0d5a6

@ -284,7 +284,6 @@ namespace Volo.Abp.Cli.Bundling
{
var document = new XmlDocument();
document.Load(projectFilePath);
CheckProjectIsSupportedType(document);
return document.SelectSingleNode("//TargetFramework").InnerText;
}
@ -293,11 +292,7 @@ namespace Volo.Abp.Cli.Bundling
{
var document = new XmlDocument();
document.Load(projectFilePath);
CheckProjectIsSupportedType(document);
}
private void CheckProjectIsSupportedType(XmlDocument document)
{
var sdk = document.DocumentElement.GetAttribute("Sdk");
if (sdk != BundlingConsts.SupportedWebAssemblyProjectType)
{

Loading…
Cancel
Save