We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e4c59 commit 67dd8ddCopy full SHA for 67dd8dd
src/YAML.jl
@@ -164,8 +164,5 @@ load_file(filename::AbstractString, args...; kwargs...) =
164
Parse the YAML file `filename`, and return corresponding YAML documents.
165
"""
166
load_all_file(filename::AbstractString, args...; kwargs...) =
167
- open(filename, "r") do input
168
- load_all(input, args...; kwargs...)
169
- end
170
-
+ load_all(open(filename, "r"), args...; kwargs...)
171
end # module
0 commit comments