system_command: fix typo.
This commit is contained in:
parent
9ff7ceb563
commit
9725e764f5
@ -164,13 +164,13 @@ class SystemCommand
|
||||
end
|
||||
|
||||
sig { returns(T::Array[String]) }
|
||||
def env_previx
|
||||
def env_prefix
|
||||
["/usr/bin/env", *env_args]
|
||||
end
|
||||
|
||||
sig { returns(T::Array[String]) }
|
||||
def command_prefix
|
||||
sudo? ? sudo_prefix : env_previx
|
||||
sudo? ? sudo_prefix : env_prefix
|
||||
end
|
||||
|
||||
sig { returns(T::Array[String]) }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user