summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/knife.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2013-06-06 08:34:58 -0700
committerJohn Keiser <jkeiser@opscode.com>2013-06-07 13:12:36 -0700
commit8da7858b6020ba72b9ee9a023e5f744fb35ef393 (patch)
tree0f75572006f23a042419252ca5a81884b08b0880 /lib/chef/chef_fs/knife.rb
parentfa45b5705e6c3ed34ddd04da349dd7acecae583c (diff)
downloadchef-8da7858b6020ba72b9ee9a023e5f744fb35ef393.tar.gz
Smooth out bad cookbook_path defaults from chef
Diffstat (limited to 'lib/chef/chef_fs/knife.rb')
-rw-r--r--lib/chef/chef_fs/knife.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/knife.rb b/lib/chef/chef_fs/knife.rb
index 46b30cacbe..ce621d2231 100644
--- a/lib/chef/chef_fs/knife.rb
+++ b/lib/chef/chef_fs/knife.rb
@@ -98,7 +98,7 @@ class Chef
ui.error("Attempt to use relative path '#{arg}' when current directory is outside the repository path")
exit(1)
end
- Chef::ChefFS::FilePattern::relative_to(@chef_fs_config.base_path, arg)
+ Chef::ChefFS::FilePattern.relative_to(@chef_fs_config.base_path, arg)
end
end