Skip to content

Commit

Permalink
Remove redundant condition
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel González <[email protected]>
  • Loading branch information
mig42 committed Aug 23, 2024
1 parent 52dd582 commit 8a87111
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public static void onLoaded() {

CmTool[] installations = getInstallations(descriptor);

if (installations == null || installations.length == 0) {
if (installations.length == 0) {

Check warning on line 137 in src/main/java/com/codicesoftware/plugins/jenkins/tools/CmTool.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Partially covered line

Line 137 is only partially covered, one branch is missing
createDefaultInstallation(descriptor);
}
}
Expand Down

0 comments on commit 8a87111

Please sign in to comment.