use node attribute since 'n' is in the ruby block
This commit is contained in:
Родитель
d80238e9f1
Коммит
7fee7e3597
|
@ -35,6 +35,6 @@ end
|
|||
simulators = '/usr/local/bin/xcversion simulators'
|
||||
|
||||
execute 'Install additional iOS simulator' do
|
||||
command(lazy { "#{simulators} --install='#{n}'" })
|
||||
command lazy { "#{simulators} --install='#{node['macos']['simulator']['to_install']}'" }
|
||||
not_if { node['macos']['simulator']['already_installed'] }
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче