Skip to content

Commit

Permalink
Merge pull request #246 from ermshiperete/script
Browse files Browse the repository at this point in the history
[script] Ignore warnings
  • Loading branch information
pwelter34 authored Jan 16, 2017
2 parents 39b7db8 + 8a843a8 commit 3a17548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/MSBuild.Community.Tasks/Script.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public override bool Execute()
CompilerResults results = provider.CompileAssemblyFromDom(options, compileUnit);

Assembly compiled = null;
if (results.Errors.Count > 0)
if (results.Errors.HasErrors)
{
string errors = "There were compiler errors:" + Environment.NewLine;
foreach (CompilerError err in results.Errors)
Expand Down

0 comments on commit 3a17548

Please sign in to comment.