diff options
Diffstat (limited to 'lib/chef/chef_fs/file_system/environments_dir.rb')
-rw-r--r-- | lib/chef/chef_fs/file_system/environments_dir.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/chef_fs/file_system/environments_dir.rb b/lib/chef/chef_fs/file_system/environments_dir.rb index 559dd6af86..e25f2cd2b8 100644 --- a/lib/chef/chef_fs/file_system/environments_dir.rb +++ b/lib/chef/chef_fs/file_system/environments_dir.rb @@ -44,12 +44,12 @@ class Chef @exists = exists end - def delete(recurse) + def delete(_recurse) raise NotFoundError.new(self) if !exists? raise DefaultEnvironmentCannotBeModifiedError.new(:delete, self), "#{path_for_printing} cannot be deleted." end - def write(file_contents) + def write(_file_contents) raise NotFoundError.new(self) if !exists? raise DefaultEnvironmentCannotBeModifiedError.new(:write, self), "#{path_for_printing} cannot be updated." end |