Skip to content

Commit 3ed6465

Browse files
authored
Address comments
1 parent 223d942 commit 3ed6465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/autobuilder/Semmle.Autobuild.CSharp/StandaloneBuildRule.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ public BuildScript Analyse(Autobuilder builder, bool auto)
1212
BuildScript GetCommand(string? solution)
1313
{
1414
string standalone;
15-
if (!(builder.CodeQLExtractorLangRoot is null) && !(builder.CodeQlPlatform is null)) {
15+
if (builder.CodeQLExtractorLangRoot is object && builder.CodeQlPlatform is object) {
1616
standalone = builder.Actions.PathCombine(builder.CodeQLExtractorLangRoot, "tools", builder.CodeQlPlatform, "Semmle.Extraction.CSharp.Standalone");
17-
} else if (!(builder.SemmlePlatformTools is null)) {
17+
} else if (builder.SemmlePlatformTools is object) {
1818
standalone = builder.Actions.PathCombine(builder.SemmlePlatformTools, "csharp", "Semmle.Extraction.CSharp.Standalone");
1919
} else {
2020
return BuildScript.Failure;

0 commit comments

Comments
 (0)