lib/bolt/bolt_option_parser.rb in bolt-0.21.8 vs lib/bolt/bolt_option_parser.rb in bolt-0.22.0
- old
+ new
@@ -304,10 +304,10 @@
value
end
end
def read_arg_file(file)
- File.read(file)
+ File.read(File.expand_path(file))
rescue StandardError => err
raise Bolt::FileError.new("Error attempting to read #{file}: #{err}", file)
end
end
end