lib/mixlib/install/generator/powershell.rb in mixlib-install-2.1.5 vs lib/mixlib/install/generator/powershell.rb in mixlib-install-2.1.6

- old
+ new

@@ -21,11 +21,11 @@ class Install class Generator class PowerShell < Base def self.install_ps1(context) install_project_module = [] - install_project_module << get_script("helpers.ps1") + install_project_module << get_script("helpers.ps1", context) install_project_module << get_script("get_project_metadata.ps1", context) install_project_module << get_script("install_project.ps1") install_command = [] install_command << ps1_modularize(install_project_module.join("\n"), "Omnitruck") @@ -43,10 +43,10 @@ File.join(File.dirname(__FILE__), "powershell/scripts") end def install_command install_project_module = [] - install_project_module << get_script("helpers.ps1") + install_project_module << get_script("helpers.ps1", user_agent_headers: options.user_agent_headers) install_project_module << get_script("get_project_metadata.ps1") install_project_module << get_script("install_project.ps1") install_command = [] install_command << ps1_modularize(install_project_module.join("\n"), "Omnitruck") install_command << render_command