Use File instead of IO

Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
Tim Smith 2019-04-29 17:09:48 -07:00
parent 65f27bf31b
commit 45eadb69df

View file

@ -39,7 +39,7 @@ build_iteration 1
# Load dynamically updated overrides
overrides_path = File.expand_path('../../../../omnibus_overrides.rb', __FILE__)
instance_eval(IO.read(overrides_path), overrides_path)
instance_eval(File.read(overrides_path), overrides_path)
dependency 'preparation'