summaryrefslogtreecommitdiff
path: root/tasks/bin
diff options
context:
space:
mode:
authorDan Webb <dan.webb@damacus.io>2020-04-18 17:19:38 +0100
committerDan Webb <dan.webb@damacus.io>2020-04-18 17:24:00 +0100
commit3cb31bfb962a9d1c0075b4d62d540752dc9ff683 (patch)
tree7f289cdc64ff2fd7783adac27cc1ae29703c59bc /tasks/bin
parent4a7b20bc53ee7f43d5ff7a0e3c844959093914d7 (diff)
downloadchef-3cb31bfb962a9d1c0075b4d62d540752dc9ff683.tar.gz
[FIX DEPRECATION] with_clean_env is deprecated
clean_env is now unbundled Signed-off-by: Daniel Webb <dan.webb@damacus.io>
Diffstat (limited to 'tasks/bin')
-rwxr-xr-xtasks/bin/run_external_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/bin/run_external_test b/tasks/bin/run_external_test
index 889c5bbb15..2eb45c8aab 100755
--- a/tasks/bin/run_external_test
+++ b/tasks/bin/run_external_test
@@ -31,7 +31,7 @@ Dir.mktmpdir("chef-external-test") do |dir|
shell_out!("git clone #{git_url} #{dir}", live_stream: STDOUT)
Dir.chdir(dir) do
shell_out!("git checkout #{git_thing}", live_stream: STDOUT)
- Bundler.with_clean_env do
+ Bundler.with_unbundled_env do
shell_out!("bundle install", live_stream: STDOUT, env: env)
shell_out!("bundle exec #{ARGV.join(" ")}", live_stream: STDOUT, env: env)
end