Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions apps/expert/lib/expert/port.ex
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ defmodule Expert.Port do
# to join the entries with colons and have a standard colon-separated PATH output
# as in bash, which is expected by `:os.find_executable/2`.
{path, 0} =
System.cmd(shell, ["-i", "-l", "-c", "cd #{directory} && string join ':' $PATH"],
env: env
)
System.cmd(shell, ["-l", "-c", "cd #{directory} && string join ':' $PATH"], env: env)

path

Expand Down
Loading