summaryrefslogtreecommitdiff
path: root/lib/chef_zero/data_store/raw_file_store.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-03-14 17:14:31 +0000
committerThom May <thom@chef.io>2018-04-09 13:14:41 +0100
commit4512ac6daa375ae686b135fcaa8475e44dfaf389 (patch)
tree1809355e8fc35153e5421f6ece6a1248f69f0ce4 /lib/chef_zero/data_store/raw_file_store.rb
parentdc55ce7e4a20bf6e172218e105da5818baeef749 (diff)
downloadchef-zero-tm/bump-log-version.tar.gz
use mixlib-log 2tm/bump-log-version
Diffstat (limited to 'lib/chef_zero/data_store/raw_file_store.rb')
-rw-r--r--lib/chef_zero/data_store/raw_file_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/data_store/raw_file_store.rb b/lib/chef_zero/data_store/raw_file_store.rb
index 8b4c442..2d4b3f5 100644
--- a/lib/chef_zero/data_store/raw_file_store.rb
+++ b/lib/chef_zero/data_store/raw_file_store.rb
@@ -80,7 +80,7 @@ module ChefZero
end
def get(path, request = nil)
- return IO.read(path_to(path))
+ IO.read(path_to(path))
rescue Errno::ENOENT
raise DataNotFoundError.new(path)
end