Skip to content

Commit 9454188

Browse files
authored
Merge pull request #3022 from hvitved/csharp/autobuild/dotnet-clean-try
C#: Ignore `dotnet clean` exit code in autobuilder
2 parents 17c57dc + a226915 commit 9454188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/autobuilder/Semmle.Autobuild/DotNetRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public BuildScript Analyse(Autobuilder builder, bool auto)
5050

5151
var build = GetBuildScript(builder, dotNetPath, environment, compatibleClr, projectOrSolution.FullPath);
5252

53-
ret &= clean & BuildScript.Try(restore) & build;
53+
ret &= BuildScript.Try(clean) & BuildScript.Try(restore) & build;
5454
}
5555
return ret;
5656
});

0 commit comments

Comments
 (0)