176176 d = findfirst (line -> line == " [deps]" , p)
177177 t = findfirst (line -> startswith (line, " This" ), p)
178178 # look up various packages by name
179- cache = Base. TOMLCache ()
180- root = Base. explicit_project_deps_get (project_file, " Root" , cache)
181- this = Base. explicit_project_deps_get (project_file, " This" , cache)
182- that = Base. explicit_project_deps_get (project_file, " That" , cache)
179+ root = Base. explicit_project_deps_get (project_file, " Root" )
180+ this = Base. explicit_project_deps_get (project_file, " This" )
181+ that = Base. explicit_project_deps_get (project_file, " That" )
183182 # test that the correct answers are given
184183 @test root == (something (n, N+ 1 ) ≥ something (d, N+ 1 ) ? nothing :
185184 something (u, N+ 1 ) < something (d, N+ 1 ) ? root_uuid : proj_uuid)
@@ -205,13 +204,13 @@ Base.ACTIVE_PROJECT[] = nothing
205204
206205# locate `tail(names)` package by following the search path graph through `names` starting from `where`
207206function recurse_package (where :: PkgId , name:: String , names:: String... )
208- pkg = identify_package (where , name, Base . TOMLCache () )
207+ pkg = identify_package (where , name)
209208 pkg === nothing && return nothing
210209 return recurse_package (pkg, names... )
211210end
212211
213212recurse_package (pkg:: String ) = identify_package (pkg)
214- recurse_package (where :: PkgId , pkg:: String ) = identify_package (where , pkg, Base . TOMLCache () )
213+ recurse_package (where :: PkgId , pkg:: String ) = identify_package (where , pkg)
215214
216215function recurse_package (name:: String , names:: String... )
217216 pkg = identify_package (name)
0 commit comments