diff --git a/templates/pip.conf.erb b/templates/pip.conf.erb index c0b957d..caf7976 100644 --- a/templates/pip.conf.erb +++ b/templates/pip.conf.erb @@ -1,6 +1,6 @@ [global] index-url = <%= @index_url %> -<% if trusted_hosts.length > 0 -%> +<% if @trusted_hosts.length > 0 -%> trusted-host = <% @trusted_hosts.each do |trusted_host| -%> <%= trusted_host %>