summaryrefslogtreecommitdiff
path: root/lib/chef/file_cache.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-08-09 12:24:46 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-08-16 18:41:25 -0700
commitc030f338ab37a5ce16de5b31006a278ac3767ca4 (patch)
tree72f9fcd1bd8aeb4d7372da0d58118baecf2d7468 /lib/chef/file_cache.rb
parent5d07da13f9909ea500ed8d76e83512f91ea3e461 (diff)
downloadchef-c030f338ab37a5ce16de5b31006a278ac3767ca4.tar.gz
autofixing Style/RedundantException cop
Diffstat (limited to 'lib/chef/file_cache.rb')
-rw-r--r--lib/chef/file_cache.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/file_cache.rb b/lib/chef/file_cache.rb
index cefc9da1eb..8e9bb1e3e4 100644
--- a/lib/chef/file_cache.rb
+++ b/lib/chef/file_cache.rb
@@ -85,7 +85,7 @@ class Chef
File.join(create_cache_path(File.join(file_path_array), true), file_name)
)
else
- raise RuntimeError, "Cannot move #{file} to #{path}!"
+ raise "Cannot move #{file} to #{path}!"
end
end