Skip to content

Commit

Permalink
Refactoring suggestion condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jawira committed Sep 19, 2021
1 parent 3a0bd66 commit def495e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Phing/Task/System/ExecTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ public function main()
}

// Suggest Task instead of executable
if ($this->executable) {
$hint = $this->findHint($this->executable);
if ($this->executable && ($hint = $this->findHint($this->executable))) {
$this->log($hint, Project::MSG_VERBOSE);
}

Expand Down

0 comments on commit def495e

Please sign in to comment.