summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-10-23 11:19:48 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-10-23 11:19:48 -0700
commitf506d9af29d14c493ab90435e562f60306d63631 (patch)
tree4f1abb0f84bba2be749ab7b891d4258b773a2b3a
parentb88fdf411d45018210f2a11d23073aa6fd7a98ef (diff)
downloadchef-lcg/3450.tar.gz
style fix from peer reviewlcg/3450
-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