diff options
author | Vivek Singh <vivek.singh@msystechnologies.com> | 2019-02-06 18:26:45 +0530 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-03-04 09:41:59 -0800 |
commit | 2e7900bc7121a6d3248d4a56edda8b7c9a928372 (patch) | |
tree | 483d67050bc1caf43145a7c7193cd78f0ecf1469 /chef-config | |
parent | 98777cd43824fe4d412edde672f330f30ed40ac3 (diff) | |
download | chef-2e7900bc7121a6d3248d4a56edda8b7c9a928372.tar.gz |
Uniform config dir path separator
- Return canonical path for user_home dir for the config_dir.
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'chef-config')
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index 0046d25f78..dc01e98fa2 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -119,7 +119,7 @@ module ChefConfig if config_file PathHelper.dirname(PathHelper.canonical_path(config_file, false)) else - PathHelper.join(user_home, ".chef", "") + PathHelper.join(PathHelper.canonical_path(user_home, false), ".chef", "") end end |