Skip to content

Commit

Permalink
loading should swap state even if state == :deps (#27307)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed May 30, 2018
1 parent c126c6c commit 8241cb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,8 @@ function explicit_project_deps_get(project_file::String, name::String)::Union{Bo
if (m = match(re_key_to_string, line)) != nothing
m.captures[1] == name && return UUID(m.captures[2])
end
elseif occursin(re_section, line)
end
if occursin(re_section, line)
state = occursin(re_section_deps, line) ? :deps : :other
end
end
Expand Down

0 comments on commit 8241cb3

Please sign in to comment.