diff options
author | Lamont Granquist <lamont@chef.io> | 2020-07-22 19:19:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 19:19:14 -0700 |
commit | 07f90183ca9d5130343e3cdbac760b67424180ce (patch) | |
tree | 2b228f34b36af0ee42882f2c67217a98601ff085 | |
parent | e0e90643ccd4f785b92c7a807b90099074a9518d (diff) | |
parent | d2ed912f2bd9958a14901b9902667eea2ef12045 (diff) | |
download | mixlib-shellout-07f90183ca9d5130343e3cdbac760b67424180ce.tar.gz |
Merge pull request #216 from chef/lcg/default-paths
convert helper to default_paths API
-rw-r--r-- | lib/mixlib/shellout/helper.rb | 6 |
1 files 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 |