summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook_version.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-10-23 11:19:48 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-10-24 17:07:50 -0700
commit8207725e860cfaed99d5c34d86ff149818e5abc9 (patch)
tree06bc03926041618605774758a16745f8c9dbfea7 /lib/chef/cookbook_version.rb
parent25a95319093f4754b517f2cdd599f02dffdaccdc (diff)
downloadchef-8207725e860cfaed99d5c34d86ff149818e5abc9.tar.gz
style fix from peer review
Diffstat (limited to 'lib/chef/cookbook_version.rb')
-rw-r--r--lib/chef/cookbook_version.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/cookbook_version.rb b/lib/chef/cookbook_version.rb
index 34680243c5..0e9617f98c 100644
--- a/lib/chef/cookbook_version.rb
+++ b/lib/chef/cookbook_version.rb
@@ -4,7 +4,7 @@
# Author:: Tim Hinderliter (<tim@opscode.com>)
# Author:: Seth Falcon (<seth@opscode.com>)
# Author:: Daniel DeLeo (<dan@opscode.com>)
-# Copyright:: Copyright 2008-2011 Opscode, Inc.
+# Copyright:: Copyright 2008-2015 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -451,7 +451,7 @@ class Chef
relative_search_path.map {|relative_path| File.join(segment.to_s, relative_path)}
else
if segment.to_sym == :root_files
- [] << path
+ [path]
else
[File.join(segment, path)]
end