mirror of https://github.com/ansible/ansible.git
Remove dead code from pacman module
The manual check to see if get_bin_path() returned anything is redundant, because we pass True to the required parameter of get_bin_path(). This automatically causes the task to fail if the pacman binary isn't available. Therefore, the code within the if statement being removed is never called.pull/18777/head
parent
8227105f02
commit
b58eaca7e8
Loading…
Reference in New Issue