From d2ed912f2bd9958a14901b9902667eea2ef12045 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 22 Jul 2020 17:22:58 -0700 Subject: convert helper to default_paths API Signed-off-by: Lamont Granquist --- lib/mixlib/shellout/helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/mixlib/shellout/helper.rb b/lib/mixlib/shellout/helper.rb index 2c60e05..35184b9 100644 --- a/lib/mixlib/shellout/helper.rb +++ b/lib/mixlib/shellout/helper.rb @@ -17,14 +17,14 @@ require_relative "../shellout" require "chef-utils" -require "chef-utils/dsl/path_sanity" +require "chef-utils/dsl/default_paths" require "chef-utils/internal" module Mixlib class ShellOut module Helper include ChefUtils::Internal - include ChefUtils::DSL::PathSanity + include ChefUtils::DSL::DefaultPaths # # These APIs are considered public for use in ohai and chef (by cookbooks and plugins, etc) @@ -88,7 +88,7 @@ module Mixlib "LC_ALL" => __config[:internal_locale], "LANGUAGE" => __config[:internal_locale], "LANG" => __config[:internal_locale], - __env_path_name => sanitized_path, + __env_path_name => default_paths, }.update(options[env_key] || {}) end options -- cgit v1.2.1