Skip to content

Commit

Permalink
Fix naming of muzzle tasks (#3589)
Browse files Browse the repository at this point in the history
`assertPass` property is always present because we set to a default value right in the constructor.
  • Loading branch information
iNikem authored Jul 15, 2021
1 parent e1584b5 commit a079ff3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ fun addMuzzleTask(muzzleDirective: MuzzleDirective, versionArtifact: Artifact?,
"muzzle-Assert${muzzleDirective}"
} else {
StringBuilder("muzzle-Assert").apply {
if (muzzleDirective.assertPass.isPresent) {
if (muzzleDirective.assertPass.get()) {
append("Pass")
} else {
append("Fail")
Expand Down

0 comments on commit a079ff3

Please sign in to comment.