Skip to content

Commit

Permalink
Wrap long line
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Jul 3, 2019
1 parent 7ca79e7 commit ce04da6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/aruba/processes/spawn_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,12 @@ def command_string
end

def command_path
@command_path ||= (Aruba.platform.builtin_shell_commands.include?(command) ? command : Aruba.platform.which(command, environment['PATH']))
@command_path ||=
if Aruba.platform.builtin_shell_commands.include? command
command
else
Aruba.platform.which command, environment['PATH']
end
end

def wait_for_io(time_to_wait)
Expand Down

0 comments on commit ce04da6

Please sign in to comment.