summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-12-10 20:24:26 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-12-14 12:51:58 -0800
commit6824d3bcc044d74d7287aabf63d6772f96e17adf (patch)
tree29d5bdf11580e4c277539320bf501b8fa5be0d49
parentd3f00ed37583298c64869bf492a36d10b6222203 (diff)
downloadchef-6824d3bcc044d74d7287aabf63d6772f96e17adf.tar.gz
unnecessary array arg
-rw-r--r--lib/chef/resource/file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb
index f5a8cf809c..883b0132d0 100644
--- a/lib/chef/resource/file.rb
+++ b/lib/chef/resource/file.rb
@@ -53,7 +53,7 @@ class Chef
property :content, [ String, nil ], desired_state: false
property :backup, [ Integer, false ], desired_state: false, default: 5
property :checksum, [ String, nil ], is: /^[a-zA-Z0-9]{64}$/
- property :path, [ String ], name_property: true
+ property :path, String, name_property: true
property :diff, [ String, nil ], desired_state: false
property :atomic_update, [ true, false ], desired_state: false, default: Chef::Config[:file_atomic_update]
property :force_unlink, [ true, false ], desired_state: false, default: false