提交 c7b913a7 编写于 作者: lindexi_gd's avatar lindexi_gd

统一判断

上级 8dc12387
......@@ -45,7 +45,7 @@ namespace dotnetCampus.SourceYard.Context
return true;
}
if (targetFrameworks != null && string.IsNullOrWhiteSpace(targetFrameworks) is false)
if (targetFrameworks != null && !string.IsNullOrWhiteSpace(targetFrameworks))
{
// 对于单框架,也许 targetFrameworks 的值是空字符串
if (!targetFrameworks.Contains(t.TargetFramework))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册